mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-10 05:04:52 +00:00
HHH-16362 Don't set fetched on nested non-terminal attribute joins
This commit is contained in:
parent
e564ca4dde
commit
88f1e156a3
@ -193,7 +193,7 @@ private static SqmFrom<?, Object> createJoin(
|
||||
lhs,
|
||||
joinType,
|
||||
isTerminal ? alias : allowReuse ? SqmCreationHelper.IMPLICIT_ALIAS : null,
|
||||
fetch,
|
||||
isTerminal && fetch,
|
||||
creationState
|
||||
);
|
||||
lhs.addSqmJoin( join );
|
||||
|
Loading…
x
Reference in New Issue
Block a user