mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-20 01:55:02 +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,
|
this,
|
||||||
creationContext
|
creationContext
|
||||||
);
|
);
|
||||||
final FilterPredicate filterPredicate = FilterHelper.createFilterPredicate(
|
|
||||||
getLoadQueryInfluencers(),
|
pluralAttributeMapping.applyBaseRestrictions(
|
||||||
(Joinable) pluralAttributeMapping.getCollectionDescriptor(),
|
subQuerySpec::applyPredicate,
|
||||||
tableGroup
|
tableGroup,
|
||||||
|
true,
|
||||||
|
getLoadQueryInfluencers().getEnabledFilters(),
|
||||||
|
null,
|
||||||
|
this
|
||||||
);
|
);
|
||||||
if ( filterPredicate != null ) {
|
|
||||||
subQuerySpec.applyPredicate( filterPredicate );
|
|
||||||
}
|
|
||||||
|
|
||||||
getFromClauseAccess().registerTableGroup( pluralPartPath.getNavigablePath(), tableGroup );
|
getFromClauseAccess().registerTableGroup( pluralPartPath.getNavigablePath(), tableGroup );
|
||||||
registerPluralTableGroupParts( tableGroup );
|
registerPluralTableGroupParts( tableGroup );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user