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 6e79643a55
commit 24b516253a
1 changed files with 1 additions and 1 deletions

View File

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