From efc09ba0bac3f8cfdc28c062176dee354027bd21 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 12 Aug 2025 11:13:21 +0000 Subject: [PATCH 1/2] chore(deps): update dependency org.hibernate.reactive:hibernate-reactive-core to v4 --- libs.example.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs.example.versions.toml b/libs.example.versions.toml index f0d5636e2..337f41ea7 100644 --- a/libs.example.versions.toml +++ b/libs.example.versions.toml @@ -22,7 +22,7 @@ spring-batch5-test = { module = "org.springframework.batch:spring-batch-test", v hibernate7-core = { module = "org.hibernate:hibernate-core", version = "7.1.0.Final" } # hibernate-reactive -hibernate-reactive2-core = { module = "org.hibernate.reactive:hibernate-reactive-core", version = "3.1.0.Final" } +hibernate-reactive2-core = { module = "org.hibernate.reactive:hibernate-reactive-core", version = "4.1.0.Final" } # eclipse-link eclipselink4 = { module = "org.eclipse.persistence:org.eclipse.persistence.jpa", version = "4.0.7" } From 5a4f9e18fe02d5daa8d1927e609ca54160824428 Mon Sep 17 00:00:00 2001 From: Hyunsik Kang Date: Fri, 15 Aug 2025 06:48:54 +0900 Subject: [PATCH 2/2] fix: verx-5 upgrade & vertx-4 seperated --- example/hibernate-reactive-javax/build.gradle.kts | 2 +- .../reactive/jakarta/jpql/configuration/H2DBConnectionPool.kt | 4 ++-- libs.example.versions.toml | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/example/hibernate-reactive-javax/build.gradle.kts b/example/hibernate-reactive-javax/build.gradle.kts index c72df7018..ba9c6ddab 100644 --- a/example/hibernate-reactive-javax/build.gradle.kts +++ b/example/hibernate-reactive-javax/build.gradle.kts @@ -8,7 +8,7 @@ plugins { dependencies { implementation(exampleLegacyLibs.hibernate.reactive1.core) - implementation(exampleLibs.vertx.jdbc.client) + implementation(exampleLibs.vertx.jdbc.client4) implementation(exampleLibs.agroal.pool) implementation(exampleLibs.logback) implementation(projects.example) diff --git a/example/hibernate-reactive/src/main/kotlin/com/linecorp/kotlinjdsl/example/hibernate/reactive/jakarta/jpql/configuration/H2DBConnectionPool.kt b/example/hibernate-reactive/src/main/kotlin/com/linecorp/kotlinjdsl/example/hibernate/reactive/jakarta/jpql/configuration/H2DBConnectionPool.kt index aa28598b9..f47c51f73 100644 --- a/example/hibernate-reactive/src/main/kotlin/com/linecorp/kotlinjdsl/example/hibernate/reactive/jakarta/jpql/configuration/H2DBConnectionPool.kt +++ b/example/hibernate-reactive/src/main/kotlin/com/linecorp/kotlinjdsl/example/hibernate/reactive/jakarta/jpql/configuration/H2DBConnectionPool.kt @@ -10,9 +10,9 @@ import org.hibernate.reactive.pool.impl.DefaultSqlClientPool import java.net.URI class H2DBConnectionPool : DefaultSqlClientPool() { - override fun createPool( + override fun createPool( uri: URI, - connectOptions: SqlConnectOptions, + connectOptions: T, poolOptions: PoolOptions, vertx: Vertx, ): Pool { diff --git a/libs.example.versions.toml b/libs.example.versions.toml index 337f41ea7..cb56d3a3c 100644 --- a/libs.example.versions.toml +++ b/libs.example.versions.toml @@ -28,7 +28,8 @@ hibernate-reactive2-core = { module = "org.hibernate.reactive:hibernate-reactive eclipselink4 = { module = "org.eclipse.persistence:org.eclipse.persistence.jpa", version = "4.0.7" } # vertx -vertx-jdbc-client = { module = "io.vertx:vertx-jdbc-client", version = "4.5.17" } +vertx-jdbc-client = { module = "io.vertx:vertx-jdbc-client", version = "5.0.3" } +vertx-jdbc-client4 = { module = "io.vertx:vertx-jdbc-client", version = "4.5.17" } agroal-pool = { module = "io.agroal:agroal-pool", version = "2.7" } h2 = { module = "com.h2database:h2", version = "2.3.232" }