mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
HHH-14977 - @Where is broken in 6.0
Fix up bad rebase of https://github.com/hibernate/hibernate-orm/pull/4465 (Make TableReference an interface with various sub-classes) on top of this work
This commit is contained in:
parent
fe5a7466cf
commit
7c604d7c3b
@ -3561,14 +3561,15 @@ protected Expression createLateralJoinExpression(
|
||||
this,
|
||||
creationContext
|
||||
);
|
||||
final FilterPredicate filterPredicate = FilterHelper.createFilterPredicate(
|
||||
getLoadQueryInfluencers(),
|
||||
(Joinable) pluralAttributeMapping.getCollectionDescriptor(),
|
||||
tableGroup
|
||||
|
||||
pluralAttributeMapping.applyBaseRestrictions(
|
||||
subQuerySpec::applyPredicate,
|
||||
tableGroup,
|
||||
true,
|
||||
getLoadQueryInfluencers().getEnabledFilters(),
|
||||
null,
|
||||
this
|
||||
);
|
||||
if ( filterPredicate != null ) {
|
||||
subQuerySpec.applyPredicate( filterPredicate );
|
||||
}
|
||||
|
||||
getFromClauseAccess().registerTableGroup( pluralPartPath.getNavigablePath(), tableGroup );
|
||||
registerPluralTableGroupParts( tableGroup );
|
||||
|
Loading…
x
Reference in New Issue
Block a user