Skip to content

Commit 54bdab4

Browse files
committed
Partially upgrade to H2 database 2.0.206
Commit ed4e228 introduced support for H2 2.0.x but did not upgrade the H2 dependency. This commit upgrades the H2 dependency to version 2.0.206 but also adds an explicit test dependency on version 1.4.200 in spring-r2dbc, since r2dbc-h2 does not yet support H2 2.0.x. Once r2dbc/r2dbc-h2#204 has been included in a released version of r2dbc-h2 we will be able to upgrade spring-r2dbc's test dependency on the H2 database to 2.0.x as well. See gh-27870 See gh-27902
1 parent 75e1811 commit 54bdab4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ configure(allprojects) { project ->
9494
dependency "org.ogce:xpp3:1.1.6"
9595
dependency "org.yaml:snakeyaml:1.30"
9696

97-
dependency "com.h2database:h2:1.4.200"
97+
dependency "com.h2database:h2:2.0.206"
9898
dependency "com.github.ben-manes.caffeine:caffeine:2.9.3"
9999
dependency "com.github.librepdf:openpdf:1.3.26"
100100
dependency "com.rometools:rome:1.16.0"

spring-r2dbc/spring-r2dbc.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ dependencies {
1717
testImplementation(testFixtures(project(":spring-context")))
1818
testImplementation("io.projectreactor:reactor-test")
1919
testImplementation("io.r2dbc:r2dbc-h2")
20+
testImplementation("com.h2database:h2:1.4.200") {
21+
because("r2dbc-h2 does not yet support H2 2.0")
22+
}
2023
testImplementation("io.r2dbc:r2dbc-spi-test:0.8.1.RELEASE") {
2124
exclude group: "org.springframework", module: "spring-jdbc"
2225
}

0 commit comments

Comments
 (0)