JAVA-30529 Fix failing integration test in jooq module (#15876)

Co-authored-by: timis1 <[email protected]>
This commit is contained in:
timis1
2024-02-14 21:47:34 +01:00
committed by GitHub
co-authored by timis1
parent e049ddbf5a
commit 560cb18da9
2 changed files with 4 additions and 4 deletions
@@ -34,7 +34,7 @@ public class CodeGenerationIntegrationTest {
Connection conn = DriverManager.getConnection("jdbc:h2:mem:tes;INIT=CREATE SCHEMA IF NOT EXISTS \"public\"");
context = DSL.using(conn, SQLDialect.H2);
context.createTable(Author.AUTHOR)
context.createTableIfNotExists(Author.AUTHOR)
.columns(
Author.AUTHOR.ID,
Author.AUTHOR.FIRST_NAME,
@@ -42,7 +42,7 @@ public class CodeGenerationIntegrationTest {
Author.AUTHOR.AGE
)
.execute();
context.createTable(Article.ARTICLE)
context.createTableIfNotExists(Article.ARTICLE)
.columns(
Article.ARTICLE.ID,
Article.ARTICLE.TITLE,
@@ -37,7 +37,7 @@ public class CrudIntegrationTest {
Connection conn = DriverManager.getConnection("jdbc:h2:mem:tes;INIT=CREATE SCHEMA IF NOT EXISTS \"public\"");
context = DSL.using(conn, SQLDialect.H2);
context.createTable(Author.AUTHOR)
context.createTableIfNotExists(Author.AUTHOR)
.columns(
Author.AUTHOR.ID,
Author.AUTHOR.FIRST_NAME,
@@ -45,7 +45,7 @@ public class CrudIntegrationTest {
Author.AUTHOR.AGE
)
.execute();
context.createTable(Article.ARTICLE)
context.createTableIfNotExists(Article.ARTICLE)
.columns(
Article.ARTICLE.ID,
Article.ARTICLE.TITLE,