Skip to content

Commit 26640ce

Browse files
committed
HHH-17131 Fix collection fetch detection for join-fetched associations
1 parent dadfa62 commit 26640ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityFetchJoinedImpl.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ public boolean hasTableGroup() {
150150
return true;
151151
}
152152

153+
@Override
154+
public boolean containsCollectionFetches() {
155+
return entityResult.containsCollectionFetches();
156+
}
157+
153158
public EntityResultImpl getEntityResult() {
154159
return entityResult;
155160
}

0 commit comments

Comments
 (0)