mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#358 - ENH: Add ServerConfig updateAllPropertiesInBatch with a default of true
This commit is contained in:
@@ -121,6 +121,16 @@ public class TestBatchInsertSimple extends BaseTestCase {
|
||||
// escalate based on batchOnCascade value
|
||||
Ebean.saveAll(masters);
|
||||
|
||||
for (int i = 0; i < masters.size() ; i++) {
|
||||
UTMaster utMaster = masters.get(i);
|
||||
utMaster.setName(utMaster.getName()+"-Mod");
|
||||
if (i % 2 == 0) {
|
||||
// make the updates a little bit different
|
||||
utMaster.setDescription("Blah");
|
||||
}
|
||||
}
|
||||
|
||||
Ebean.saveAll(masters);
|
||||
}
|
||||
|
||||
private UTMaster createMasterAndDetails(int masterPos, int size) {
|
||||
|
||||
Reference in New Issue
Block a user