HHH-17307 Hibernate 6 ListResultsConsumer.Results#addUnique really slow for ElementCollections

This commit is contained in:
Andrea Boriero 2024-01-08 17:19:02 +01:00 committed by Christian Beikov
parent d1766018fd
commit 930972ac46
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public class CollectionLoaderSubSelectFetch implements CollectionLoader {
this.subselect.getLoadingJdbcParameterBindings(),
new ExecutionContextWithSubselectFetchHandler( session, subSelectFetchableKeysHandler ),
RowTransformerStandardImpl.instance(),
ListResultsConsumer.UniqueSemantic.FILTER
ListResultsConsumer.UniqueSemantic.NONE
);
if ( subSelectFetchedCollections != null && ! subSelectFetchedCollections.isEmpty() ) {