#1610 - Refactor: Change SQL logging such that jdbc batch use is more obvious

This commit is contained in:
rob bygrave
2019-01-21 19:31:28 +13:00
parent b399713a85
commit c86e6b3cf9
18 changed files with 113 additions and 135 deletions
@@ -41,7 +41,7 @@ public class TestSoftDeleteStatelessUpdate extends BaseTestCase {
Ebean.getDefaultServer().update(upd, null, true);
List<String> sql = LoggedSql.collect();
assertThat(sql).hasSize(4);
assertThat(sql).hasSize(5);
assertThat(sql.get(0)).contains("update esd_master set name=? where id=?");
if (isPlatformBooleanNative()) {
assertThat(sql.get(1)).contains("update esd_detail set deleted=true where master_id = ? and not");