#760 - Change @Transactional(batchSize=100) ... to imply batch mode (remove need to also specify batch=PersistBatch.ALL)

This commit is contained in:
Robin Bygrave committed 2016-07-06 12:26:18 +12:00
1 parent db1ba5f20e
commit d89817a5c5
4 files changed
+110 -23

No files matched your search

@@ -683,6 +683,9 @@ public final class DefaultServer implements SpiServer, SpiEbeanServer {
if (txScope == null) {
// create a TxScope with default settings
txScope = new TxScope();
} else {
// check for implied batch mode via setting batchSize
txScope.checkBatchMode();
}
SpiTransaction suspended = null;