Skip to content

Commit 7292aac

Browse files
committed
HHH-18992 - set NaturalIdMultiLoadAccessStandard.orderedReturnEnabled by default to false, as otherwise an UnsupportedOperationException would be thrown by the MultiNaturalIdLoaderInPredicate
Signed-off-by: Jan Schatteman <[email protected]>
1 parent c81e1fc commit 7292aac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/internal/NaturalIdMultiLoadAccessStandard.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class NaturalIdMultiLoadAccessStandard<T> implements NaturalIdMultiLoadAc
3434

3535
private Integer batchSize;
3636
private boolean returnOfDeletedEntitiesEnabled;
37-
private boolean orderedReturnEnabled = true;
37+
private boolean orderedReturnEnabled = false;
3838

3939
public NaturalIdMultiLoadAccessStandard(EntityPersister entityDescriptor, SessionImpl session) {
4040
this.entityDescriptor = entityDescriptor;

0 commit comments

Comments
 (0)