We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c793cd5 commit 654c303Copy full SHA for 654c303
hibernate5-jakarta/src/test/java/tools/jackson/datatype/hibernate5/jakarta/Hibernate5JakartaVersion.java
@@ -7,7 +7,7 @@ public static String getHibernateVersion() {
7
// Use Version.getVersionString() instead of Package.getImplementationVersion()
8
// because the latter returns null in JPMS/module-info contexts
9
Class<?> versionClass = Class.forName("org.hibernate.Version");
10
- return (String) versionClass.getMethod("getVersionString").invoke(null);
+ return (String) versionClass.getMethod("getVersionString").invoke(null);
11
} catch (Exception e) {
12
// Should not happen: hibernate not found in the classpath
13
throw new RuntimeException(e);
0 commit comments