FIX: Missing internalBatchFlush after TransactionCallback.preCommit

This commit is contained in:
Roland Praml
2021-11-04 13:32:07 +01:00
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();
}
/**