Hibernate 6 tutorial?

The hibernate 6.* versions of the gettting started docs have a link to tutorial code but it returns a 404. Is the tutorial for hibernate 6.* supported? I couldn’t find the source code for it anywhere.

Here is an example of a broken link:


Hi @Jonathan_Albrecht ,

thanks for reporting the issue, we are going to fix the link.

The correct link for the souce code is https://docs.jboss.org/hibernate/orm/6.1/quickstart/html_single/hibernate-tutorials.zip-6.1.1.Final.zip

1 Like

Thanks @dreab8! That link works.

There were some errors though when I tried to run mvn test. I made the following changes to get it to run successfully:

commit 2f2cf00dc56d6150e85e5e3022647dced20cbf22
Author: Jonathan Albrecht <someone@example.com>
Date:   Wed Jul 13 08:51:43 2022 -0400

    Fix pom.xml so 'mvn test' will run correctly

diff --git a/pom.xml b/pom.xml
index 80b28a0..f937a12 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,6 @@
-        <module>osgi</module>
@@ -48,14 +47,14 @@
-            <version>provider(?)</version>
+            <version>4.13.2</version>
         <!-- The tutorials use the H2 in-memory database -->
-            <version>provider(?)</version>
+            <version>2.1.210</version>
@@ -72,6 +71,19 @@
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <version>3.10.1</version>
+                    <configuration>
+                        <source>11</source>
+                        <target>11</target>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>

Hi @Jonathan_Albrecht,
if you want you can open a JIRA ticketsand contribute with a solution creating a PR