Skip to content

Commit 24b5162

Browse files
dreab8beikov
authored andcommitted
HHH-17307 Hibernate 6 ListResultsConsumer.Results#addUnique really slow for ElementCollections
1 parent 6e79643 commit 24b5162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/loader/ast/internal/CollectionLoaderSubSelectFetch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public PersistentCollection<?> load(Object triggerKey, SharedSessionContractImpl
138138
this.subselect.getLoadingJdbcParameterBindings(),
139139
new ExecutionContextWithSubselectFetchHandler( session, subSelectFetchableKeysHandler ),
140140
RowTransformerStandardImpl.instance(),
141-
ListResultsConsumer.UniqueSemantic.FILTER
141+
ListResultsConsumer.UniqueSemantic.NONE
142142
);
143143

144144
if ( subSelectFetchedCollections != null && ! subSelectFetchedCollections.isEmpty() ) {

0 commit comments

Comments
 (0)