HHH-11241 : Fix issue due to backporting
This commit is contained in:
parent
f490451b6d
commit
7dc1729483
|
@ -707,7 +707,7 @@ public class SingleTableEntityPersister extends AbstractEntityPersister {
|
||||||
concreteEntityPersister = this;
|
concreteEntityPersister = this;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
concreteEntityPersister = getFactory().getMetamodel().entityPersister( entityName );
|
concreteEntityPersister = getFactory().getEntityPersister( entityName );
|
||||||
}
|
}
|
||||||
Type type = concreteEntityPersister.getPropertyType( propertyName );
|
Type type = concreteEntityPersister.getPropertyType( propertyName );
|
||||||
if ( type.isAssociationType() && ( (AssociationType) type ).useLHSPrimaryKey() ) {
|
if ( type.isAssociationType() && ( (AssociationType) type ).useLHSPrimaryKey() ) {
|
||||||
|
|
Loading…
Reference in New Issue