Update unit test syntax to the current version of H2

This commit is contained in:
Derry Hamilton 2023-07-11 12:33:48 +01:00
parent 9f4729bf1d
commit 49487a83af
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ public class TestJob {
dest, dest,
"jUnit Test Config", "jUnit Test Config",
"jUnit Test Job", "jUnit Test Job",
"SELECT -1 AS key", "SELECT -1 AS \"key\"",
"SELECT id,dat FROM src WHERE id > ?", "SELECT id,dat FROM src WHERE id > ?",
"INSERT INTO dest VALUES(?,?)", "INSERT INTO dest VALUES(?,?)",
null, null,

View file

@ -42,7 +42,7 @@ public class TestPrePost {
dest, dest,
"jUnit Test Config", "jUnit Test Config",
"jUnit Test Job", "jUnit Test Job",
"SELECT -1 AS key", "SELECT -1 AS \"key\"",
"SELECT id,dat FROM src WHERE id > ?", "SELECT id,dat FROM src WHERE id > ?",
"INSERT INTO tmp_dest VALUES(?,?)", "INSERT INTO tmp_dest VALUES(?,?)",
"CREATE TEMP TABLE tmp_dest(id bigint not null primary key, dat varchar);", "CREATE TEMP TABLE tmp_dest(id bigint not null primary key, dat varchar);",