File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
hibernate-core/src/main/java/org/hibernate
boot/models/categorize/internal Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 8
8
import java .util .Collection ;
9
9
10
10
import org .hibernate .boot .registry .classloading .spi .ClassLoaderService ;
11
+ import org .hibernate .boot .registry .classloading .spi .ClassLoadingException ;
11
12
import org .hibernate .models .spi .ClassLoading ;
12
13
13
14
/**
@@ -27,6 +28,16 @@ public <T> Class<T> classForName(String name) {
27
28
return classLoaderService .classForName ( name );
28
29
}
29
30
31
+ @ Override
32
+ public <T > Class <T > findClassForName (String name ) {
33
+ try {
34
+ return classLoaderService .classForName ( name );
35
+ }
36
+ catch (ClassLoadingException e ) {
37
+ return null ;
38
+ }
39
+ }
40
+
30
41
@ Override
31
42
public Package packageForName (String name ) {
32
43
return classLoaderService .packageForNameOrNull ( name );
Original file line number Diff line number Diff line change @@ -47,6 +47,6 @@ public void render(
47
47
haystackExpression .accept ( walker );
48
48
sqlAppender .append ( ")))" );
49
49
}
50
-
50
+
51
51
}
52
52
}
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ dependencyResolutionManagement {
76
76
def byteBuddyVersion = version " byteBuddy" , " 1.14.18"
77
77
def classmateVersion = version " classmate" , " 1.5.1"
78
78
def geolatteVersion = version " geolatte" , " 1.9.1"
79
- def hibernateModelsVersion = version " hibernateModels" , " 0.9.0 "
79
+ def hibernateModelsVersion = version " hibernateModels" , " 0.9.1 "
80
80
def jandexVersion = version " jandex" , " 3.2.0"
81
81
def jacksonVersion = version " jackson" , " 2.17.0"
82
82
def jbossLoggingVersion = version " jbossLogging" , " 3.6.0.Final"
You can’t perform that action at this time.
0 commit comments