mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: Missing internalBatchFlush after TransactionCallback.preCommit
This commit is contained in:
committed by
Jonas Pöhler
parent
71b0416ddf
commit
04eda3eae2
@@ -998,6 +998,9 @@ class JdbcTransaction implements SpiTransaction, TxnProfileEventCodes {
|
||||
public final void preCommit() {
|
||||
internalBatchFlush();
|
||||
firePreCommit();
|
||||
// we must flush the batch queue again, because the callback can
|
||||
// modify current transaction
|
||||
internalBatchFlush();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user