From cecddc34dffccaa60361e05d55c348e3af87d903 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 | 4 ++-- 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, 25 insertions(+), 8 deletions(-) diff --git a/ant/docs/5-minute-tutorial.md b/ant/docs/5-minute-tutorial.md index df08fabf3e..d2cfa2c664 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. - + @@ -121,4 +121,4 @@ With all the previous elements in place, generating the Java classes from the Sa becomes as simple as issuing `ant reveng` in a command line window. Congratulations! You have succesfully created Java classes for the Sakila database... Now it's -probably time to dive somewhat deeper in the available functionality. \ No newline at end of file +probably time to dive somewhat deeper in the available functionality. diff --git a/ant/docs/reference-guide.md b/ant/docs/reference-guide.md index 8afea50022..ab24d06393 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 @@ -317,4 +317,21 @@ specified by the `` to avoid duplicate import exceptions. ### 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 8bf78aab77..f8073bfa4c 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 cd7f82248e..ec39e2ca2b 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 55e9d6a7b8..f4611614b7 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.0.10.Final 2.6.1