#1419 - Refactor - saveAll() and deleteAll() ... when collections are empty skip transaction init check

This commit is contained in:
rob bygrave committed 2018-06-12 22:08:17 +12:00
1 parent 81897bd54d
commit 91c4eca528
2 files changed
+38 -15

No files matched your search

@@ -94,6 +94,26 @@ public class EbeanServer_saveAllTest extends BaseTestCase {
}
@Test
public void deleteAll_withNull() {
Ebean.deleteAll(null);
}
@Test
public void deleteAll_withEmpty() {
Ebean.saveAll(beans(0));
}
@Test
public void saveAll_withNull() {
Ebean.saveAll(null);
}
@Test
public void saveAll_withEmpty() {
Ebean.saveAll(beans(0));
}
@Test
public void saveAll_withTransaction() {