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;
|
||||
}
|
||||
else {
|
||||
concreteEntityPersister = getFactory().getMetamodel().entityPersister( entityName );
|
||||
concreteEntityPersister = getFactory().getEntityPersister( entityName );
|
||||
}
|
||||
Type type = concreteEntityPersister.getPropertyType( propertyName );
|
||||
if ( type.isAssociationType() && ( (AssociationType) type ).useLHSPrimaryKey() ) {
|
||||
|
|
Loading…
Reference in New Issue