HHH-11241 : Fix issue due to backporting
(cherry picked from commit 7dc1729483
)
This commit is contained in:
parent
e5b8eb5f23
commit
285c5eb43e
|
@ -722,7 +722,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