Fix test for H2 select for update - my bad.

This commit is contained in:
Rob Bygrave
2018-02-02 23:36:12 +13:00
parent bbef5a6bbb
commit f9404639d7
@@ -58,6 +58,8 @@ public class TestQueryForUpdate extends BaseTestCase {
query.findList();
if (isOracle()) {
assertThat(sqlOf(query)).contains("for update nowait");
} else if (isH2()) {
assertThat(sqlOf(query)).contains("for update");
} else if (isSqlServer()) {
assertThat(sqlOf(query)).contains("with (updlock,nowait)");
} else {