From 0244603a4a1cd4d3736fab8fe57c29f7bebe3320 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 13:42:40 +0000 Subject: [PATCH 1/7] fix(deps): update managed.hibernate to v6.6.1.final --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index bb38abe8c..961502750 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -24,7 +24,7 @@ micronaut-validation = "4.7.0" managed-vertx = "4.5.10" managed-jooq = "3.19.11" -managed-hibernate = "6.5.2.Final" +managed-hibernate = "6.6.1.Final" managed-hibernate-reactive = "2.3.1.Final" managed-jasync = "2.2.4" managed-jdbi = "3.45.4" From 11c235f541b0abaa190084de06cbcdf4c4e9fcbc Mon Sep 17 00:00:00 2001 From: Radovan Radic Date: Thu, 19 Sep 2024 09:36:06 +0200 Subject: [PATCH 2/7] Update hibernate-reactive version --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 961502750..8e1377459 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -25,7 +25,7 @@ micronaut-validation = "4.7.0" managed-vertx = "4.5.10" managed-jooq = "3.19.11" managed-hibernate = "6.6.1.Final" -managed-hibernate-reactive = "2.3.1.Final" +managed-hibernate-reactive = "2.4.1.Final" managed-jasync = "2.2.4" managed-jdbi = "3.45.4" From 1ff4d7aff0ff3ef1d3fe1f071a6e818899f9cfd7 Mon Sep 17 00:00:00 2001 From: radovanradic Date: Thu, 19 Sep 2024 10:05:33 +0200 Subject: [PATCH 3/7] Add missing Hibernate metadata --- .../hibernate-jpa-graal/reflect-config.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 hibernate-jpa/src/main/resources/META-INF/native-image/io.micronaut.sql/hibernate-jpa-graal/reflect-config.json diff --git a/hibernate-jpa/src/main/resources/META-INF/native-image/io.micronaut.sql/hibernate-jpa-graal/reflect-config.json b/hibernate-jpa/src/main/resources/META-INF/native-image/io.micronaut.sql/hibernate-jpa-graal/reflect-config.json new file mode 100644 index 000000000..b3cac88e8 --- /dev/null +++ b/hibernate-jpa/src/main/resources/META-INF/native-image/io.micronaut.sql/hibernate-jpa-graal/reflect-config.json @@ -0,0 +1,16 @@ +[ + { + "name": "org.hibernate.internal.log.ConnectionInfoLogger_$logger", + "methods": [ + { + "name": "", + "parameterTypes": [ + "org.jboss.logging.Logger" + ] + } + ] + }, + { + "name": "[Lorg.hibernate.event.spi.PostUpsertEventListener;" + } +] From fe34fe90c97840bd1c105ce151747f1df2d9456b Mon Sep 17 00:00:00 2001 From: radovanradic Date: Thu, 19 Sep 2024 10:40:39 +0200 Subject: [PATCH 4/7] Try different MSSQL image --- .../hibernate6-mssql/src/test/resources/application-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hibernate6/hibernate6-mssql/src/test/resources/application-test.yml b/tests/hibernate6/hibernate6-mssql/src/test/resources/application-test.yml index 6d8a4cc6b..03faf1453 100644 --- a/tests/hibernate6/hibernate6-mssql/src/test/resources/application-test.yml +++ b/tests/hibernate6/hibernate6-mssql/src/test/resources/application-test.yml @@ -2,3 +2,4 @@ test-resources: containers: mssql: accept-license: true + image-name: mcr.microsoft.com/mssql/server:2022-latest From e9225090385d83d014ef2015437e49b6e583f331 Mon Sep 17 00:00:00 2001 From: radovanradic Date: Thu, 19 Sep 2024 10:49:47 +0200 Subject: [PATCH 5/7] Use new MSSQL docker image --- .../src/test/resources/application-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hibernate6/hibernate6-reactive-mssql/src/test/resources/application-test.yml b/tests/hibernate6/hibernate6-reactive-mssql/src/test/resources/application-test.yml index 6d8a4cc6b..03faf1453 100644 --- a/tests/hibernate6/hibernate6-reactive-mssql/src/test/resources/application-test.yml +++ b/tests/hibernate6/hibernate6-reactive-mssql/src/test/resources/application-test.yml @@ -2,3 +2,4 @@ test-resources: containers: mssql: accept-license: true + image-name: mcr.microsoft.com/mssql/server:2022-latest From 53082bf1173c6d0c0fb5ac8690e85a5dc9765d46 Mon Sep 17 00:00:00 2001 From: radovanradic Date: Thu, 19 Sep 2024 11:54:18 +0200 Subject: [PATCH 6/7] Trigger build From 823aa9f077f19a4444a9a4ab3371f693650042e6 Mon Sep 17 00:00:00 2001 From: radovanradic Date: Thu, 17 Oct 2024 10:18:35 +0200 Subject: [PATCH 7/7] Remove unneeded changes --- .../hibernate6-mssql/src/test/resources/application-test.yml | 1 - .../src/test/resources/application-test.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/hibernate6/hibernate6-mssql/src/test/resources/application-test.yml b/tests/hibernate6/hibernate6-mssql/src/test/resources/application-test.yml index 03faf1453..6d8a4cc6b 100644 --- a/tests/hibernate6/hibernate6-mssql/src/test/resources/application-test.yml +++ b/tests/hibernate6/hibernate6-mssql/src/test/resources/application-test.yml @@ -2,4 +2,3 @@ test-resources: containers: mssql: accept-license: true - image-name: mcr.microsoft.com/mssql/server:2022-latest diff --git a/tests/hibernate6/hibernate6-reactive-mssql/src/test/resources/application-test.yml b/tests/hibernate6/hibernate6-reactive-mssql/src/test/resources/application-test.yml index 03faf1453..6d8a4cc6b 100644 --- a/tests/hibernate6/hibernate6-reactive-mssql/src/test/resources/application-test.yml +++ b/tests/hibernate6/hibernate6-reactive-mssql/src/test/resources/application-test.yml @@ -2,4 +2,3 @@ test-resources: containers: mssql: accept-license: true - image-name: mcr.microsoft.com/mssql/server:2022-latest