Skip to content

Commit

Permalink
Partially upgrade to H2 database 2.0.206
Browse files Browse the repository at this point in the history
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 spring-projectsgh-27870
See spring-projectsgh-27902
  • Loading branch information
sbrannen committed Jan 7, 2022
1 parent 75e1811 commit 54bdab4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ configure(allprojects) { project ->
dependency "org.ogce:xpp3:1.1.6"
dependency "org.yaml:snakeyaml:1.30"

dependency "com.h2database:h2:1.4.200"
dependency "com.h2database:h2:2.0.206"
dependency "com.github.ben-manes.caffeine:caffeine:2.9.3"
dependency "com.github.librepdf:openpdf:1.3.26"
dependency "com.rometools:rome:1.16.0"
Expand Down
3 changes: 3 additions & 0 deletions spring-r2dbc/spring-r2dbc.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ dependencies {
testImplementation(testFixtures(project(":spring-context")))
testImplementation("io.projectreactor:reactor-test")
testImplementation("io.r2dbc:r2dbc-h2")
testImplementation("com.h2database:h2:1.4.200") {
because("r2dbc-h2 does not yet support H2 2.0")
}
testImplementation("io.r2dbc:r2dbc-spi-test:0.8.1.RELEASE") {
exclude group: "org.springframework", module: "spring-jdbc"
}
Expand Down

0 comments on commit 54bdab4

Please sign in to comment.