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

Co-authored-by: timis1 <noreplay@yahoo.com>
This commit is contained in:
timis1 2024-02-14 22:47:34 +02:00 committed by GitHub
parent e049ddbf5a
commit 560cb18da9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,