#1417 - Breaking API - Remove PersistBatch.INSERT ... migrate to PersistBatch.ALL

This commit is contained in:
rob bygrave
2018-06-18 21:15:10 +12:00
parent 117737c790
commit 8d976f83a9
14 changed files with 140 additions and 73 deletions
@@ -29,7 +29,7 @@ public class TestBatchPersistCascade extends BaseTestCase {
Transaction txn = ebeanServer.beginTransaction();
try {
txn.setBatch(PersistBatch.INSERT);
txn.setBatch(PersistBatch.ALL);
logger.info("start ------------");
for (int i = 0; i < 3; i++) {
@@ -62,7 +62,7 @@ public class TestBatchPersistCascade extends BaseTestCase {
Transaction txn = server.beginTransaction();
try {
txn.setBatch(PersistBatch.INSERT);
txn.setBatch(PersistBatch.ALL);
txn.setBatchOnCascade(PersistBatch.ALL);
for (int i = 0; i < 3; i++) {