mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-25 15:18:59 +00:00
#1417 - Breaking API - Remove PersistBatch.INSERT ... migrate to PersistBatch.ALL
This commit is contained in:
1 parent
117737c790
commit
8d976f83a9
14 files changed
+140
-73
No files matched your search
@@ -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++) {
|
||||
|
||||
Reference in new issue
Block a user