From 46cfe34e4de160da0fa2c65030ebab551e388d82 Mon Sep 17 00:00:00 2001 From: Koen Aers Date: Fri, 26 Sep 2025 14:15:18 +0200 Subject: [PATCH] HBX-3131: Update the H2 dependency to version 2.4.240 Signed-off-by: Koen Aers --- ant/docs/5-minute-tutorial.md | 2 +- ant/docs/reference-guide.md | 19 ++++++++++++++++++- gradle/docs/5-minute-tutorial.md | 6 +++--- .../5-minute-tutorial/app/build.gradle | 2 +- pom.xml | 2 +- 5 files changed, 24 insertions(+), 7 deletions(-) diff --git a/ant/docs/5-minute-tutorial.md b/ant/docs/5-minute-tutorial.md index dfc4339527..6ed77758c5 100644 --- a/ant/docs/5-minute-tutorial.md +++ b/ant/docs/5-minute-tutorial.md @@ -46,7 +46,7 @@ for the purpose of this short tutorial. - + diff --git a/ant/docs/reference-guide.md b/ant/docs/reference-guide.md index 8602c2724d..7a356f1bca 100644 --- a/ant/docs/reference-guide.md +++ b/ant/docs/reference-guide.md @@ -52,7 +52,7 @@ the jdbc driver and for the version information. See an example in the snippet b - + ``` ### 1.2 `` Task Element @@ -370,4 +370,21 @@ This nested element is ignored. ### 2.3 JDBC Configuration +The third possibility for configuring the `` task is to use the `` +element. `` is used to perform reverse engineering of a database from a JDBC connection. +This configuration works by reading the connection properties either from a `hibernate.cfg.xml` file or a +`hibernate.properties`. + +```xml + + + ... + + ... + + +``` + +### 2.3.1 + ## 3. The Hibernate Tools Exporters \ No newline at end of file diff --git a/gradle/docs/5-minute-tutorial.md b/gradle/docs/5-minute-tutorial.md index 058decfa67..b740402a39 100644 --- a/gradle/docs/5-minute-tutorial.md +++ b/gradle/docs/5-minute-tutorial.md @@ -97,13 +97,13 @@ plugins { Also we need to depend on the java library containing the [H2 database]() drivers. This is done in the `dependencies` section of the `gradle.build` file, -to which we add `implementation 'com.h2database:h2:2.3.232'`. +to which we add `implementation 'com.h2database:h2:2.4.240'`. ```groovy ... dependencies { ... - implementation 'com.h2database:h2:2.3.232' + implementation 'com.h2database:h2:2.4.240' } ... ``` @@ -122,7 +122,7 @@ repositories { } dependencies { - implementation('com.h2database:h2:2.3.232') + implementation('com.h2database:h2:2.4.240') } ``` diff --git a/gradle/docs/examples/5-minute-tutorial/app/build.gradle b/gradle/docs/examples/5-minute-tutorial/app/build.gradle index c2ccab09a3..9863fb4d08 100644 --- a/gradle/docs/examples/5-minute-tutorial/app/build.gradle +++ b/gradle/docs/examples/5-minute-tutorial/app/build.gradle @@ -24,7 +24,7 @@ dependencies { // This dependency is used by the application. implementation libs.guava - implementation 'com.h2database:h2:2.3.232' + implementation 'com.h2database:h2:2.4.240' } // Apply a specific Java toolchain to ease working on different environments. diff --git a/pom.xml b/pom.xml index 8f53c42b22..a59fb879be 100644 --- a/pom.xml +++ b/pom.xml @@ -106,7 +106,7 @@ 4.5.0 2.3.34 1.27.0 - 2.3.232 + 2.4.240 7.0.3.Final 7.1.1.Final 2.6.1