HHH-15358 @Where annotation with globally_quoted_identifiers causes Unable to determine TableReference Exception

This commit is contained in:
Andrea Boriero 2022-06-27 11:25:01 +02:00 committed by Andrea Boriero
parent c39ccfd8eb
commit fcabfa400a
1 changed files with 1 additions and 1 deletions

View File

@ -806,7 +806,7 @@ public abstract class AbstractEntityPersister
}
containingClass = superclass;
}
this.sqlWhereStringTableExpression = containingClass.getTable().getName();
this.sqlWhereStringTableExpression = determineTableName( containingClass.getTable() );
sqlWhereStringTemplate = Template.renderWhereStringTemplate(
"(" + bootDescriptor.getWhere() + ")",
dialect,