diff --git a/hibernate-core/src/main/java/org/hibernate/loader/ast/internal/AbstractCollectionBatchLoader.java b/hibernate-core/src/main/java/org/hibernate/loader/ast/internal/AbstractCollectionBatchLoader.java index 2da3c5f4e3..8a9a7d155d 100644 --- a/hibernate-core/src/main/java/org/hibernate/loader/ast/internal/AbstractCollectionBatchLoader.java +++ b/hibernate-core/src/main/java/org/hibernate/loader/ast/internal/AbstractCollectionBatchLoader.java @@ -119,7 +119,7 @@ public abstract class AbstractCollectionBatchLoader implements CollectionBatchLo persistenceContext, entry.getLoadedPersister(), collection, - collectionKey, + key, true ); }