Skip to content

Commit

Permalink
Fix: after DB.inserAll, transaction may stay in batchmode
Browse files Browse the repository at this point in the history
  • Loading branch information
rPraml committed Oct 8, 2024
1 parent c638f22 commit bf6c7e2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1689,6 +1689,7 @@ public void insertAll(@Nullable Collection<?> beans, InsertOptions options, @Nul
for (Object bean : beans) {
persister.insert(checkEntityBean(bean), options, txn);
}
txn.flushBatchOnCollection();
return 0;
}, transaction);
}
Expand Down

0 comments on commit bf6c7e2

Please sign in to comment.