mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1610 - Refactor: Change SQL logging such that jdbc batch use is more obvious
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user