HHH-11241 : Fix issue due to backporting

(cherry picked from commit 7dc1729483)
This commit is contained in:
Gail Badner 2016-12-08 12:53:16 -08:00
parent e5b8eb5f23
commit 285c5eb43e
1 changed files with 1 additions and 1 deletions

View File

@ -722,7 +722,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() ) {