mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
#2390 - Tidy generated SQL removing excess whitespace after id = ? predicate
This commit is contained in:
1 parent
0a4c26965c
commit
3244314424
5 files changed
+7
-9
No files matched your search
@@ -66,7 +66,7 @@ public class TestQueryForUpdate extends BaseTestCase {
|
||||
List<String> sql = LoggedSql.stop();
|
||||
assertThat(sql).hasSize(2);
|
||||
assertThat(sql.get(0)).contains("from o_order");
|
||||
assertThat(sql.get(1)).contains("from o_customer t0 where t0.id = ? for update");
|
||||
assertThat(sql.get(1)).contains("from o_customer t0 where t0.id = ? for update");
|
||||
|
||||
transaction.commit();
|
||||
}
|
||||
@@ -98,7 +98,7 @@ public class TestQueryForUpdate extends BaseTestCase {
|
||||
List<String> sql = LoggedSql.stop();
|
||||
assertThat(sql).hasSize(2);
|
||||
assertThat(sql.get(0)).contains("from o_order");
|
||||
assertThat(sql.get(1)).contains("from o_customer t0 where t0.id = ? for update");
|
||||
assertThat(sql.get(1)).contains("from o_customer t0 where t0.id = ? for update");
|
||||
|
||||
transaction.commit();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user