HHH-17307 Hibernate 6 ListResultsConsumer.Results#addUnique really slow for ElementCollections
This commit is contained in:
parent
6e79643a55
commit
24b516253a
|
@ -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() ) {
|
||||||
|
|
Loading…
Reference in New Issue