mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Revert #1263 - ENH: Make Transaction API Fluid such that we can set multiple thing like batchSize and label in a fluid fashion #1276
This commit is contained in:
@@ -130,9 +130,9 @@ public class TestBatchInsertSimple extends BaseTestCase {
|
||||
|
||||
Transaction transaction = Ebean.beginTransaction();
|
||||
try {
|
||||
transaction.setBatch(PersistBatch.NONE)
|
||||
.setBatchOnCascade(PersistBatch.ALL)
|
||||
.setBatchSize(20);
|
||||
transaction.setBatch(PersistBatch.NONE);
|
||||
transaction.setBatchOnCascade(PersistBatch.ALL);
|
||||
transaction.setBatchSize(20);
|
||||
|
||||
// escalate based on batchOnCascade value
|
||||
Ebean.saveAll(masters);
|
||||
|
||||
Reference in New Issue
Block a user