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:
https://docs.jboss.org/hibernate/orm/6.1/quickstart/html_single/hibernate-tutorials.zip
dreab8
July 13, 2022, 8:17am
2
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>annotations</module>
<module>entitymanager</module>
<module>envers</module>
- <module>osgi</module>
</modules>
<dependencies>
@@ -48,14 +47,14 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>provider(?)</version>
+ <version>4.13.2</version>
</dependency>
<!-- The tutorials use the H2 in-memory database -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
- <version>provider(?)</version>
+ <version>2.1.210</version>
</dependency>
</dependencies>
@@ -72,6 +71,19 @@
<directory>src/test/resources</directory>
</testResource>
</testResources>
+ <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>
</build>
</project>
dreab8
July 14, 2022, 7:12am
4
Hi @Jonathan_Albrecht ,
if you want you can open a JIRA ticket sand contribute with a solution creating a PR