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 ff4bcafd52
commit 6a03676c9f
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 );