mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-26 13:25:19 +00:00
HHH-12374 - Order inserts sorting code gives up too soon
This commit is contained in:
parent
d6af399893
commit
dff1fa191a
@ -1183,7 +1183,7 @@ public void sort(List<AbstractEntityInsertAction> insertions) {
|
||||
|
||||
boolean sorted = false;
|
||||
|
||||
long maxIterations = latestBatches.size() * 2;
|
||||
long maxIterations = latestBatches.size() * latestBatches.size();
|
||||
long iterations = 0;
|
||||
|
||||
sort:
|
||||
|
Loading…
x
Reference in New Issue
Block a user