HHH-16362 Don't set fetched on nested non-terminal attribute joins

This commit is contained in:
Marco Belladelli 2023-04-17 13:46:06 +02:00
parent e564ca4dde
commit 88f1e156a3
No known key found for this signature in database
GPG Key ID: D1D0C3030AE3AA35
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ public class QualifiedJoinPathConsumer implements DotIdentifierConsumer {
lhs,
joinType,
isTerminal ? alias : allowReuse ? SqmCreationHelper.IMPLICIT_ALIAS : null,
fetch,
isTerminal && fetch,
creationState
);
lhs.addSqmJoin( join );