diff --git a/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityFetchJoinedImpl.java b/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityFetchJoinedImpl.java index 3dbc075206..34e9272e47 100644 --- a/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityFetchJoinedImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityFetchJoinedImpl.java @@ -150,6 +150,11 @@ public class EntityFetchJoinedImpl extends AbstractNonLazyEntityFetch { return true; } + @Override + public boolean containsCollectionFetches() { + return entityResult.containsCollectionFetches(); + } + public EntityResultImpl getEntityResult() { return entityResult; }