HHH-18663 - Upgrade to hibernate-models 0.9.1
This commit is contained in:
parent
df735cdebd
commit
ee2d8a3765
|
@ -8,6 +8,7 @@ import java.net.URL;
|
|||
import java.util.Collection;
|
||||
|
||||
import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
|
||||
import org.hibernate.boot.registry.classloading.spi.ClassLoadingException;
|
||||
import org.hibernate.models.spi.ClassLoading;
|
||||
|
||||
/**
|
||||
|
@ -27,6 +28,16 @@ public class ClassLoaderServiceLoading implements ClassLoading {
|
|||
return classLoaderService.classForName( name );
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> Class<T> findClassForName(String name) {
|
||||
try {
|
||||
return classLoaderService.classForName( name );
|
||||
}
|
||||
catch (ClassLoadingException e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Package packageForName(String name) {
|
||||
return classLoaderService.packageForNameOrNull( name );
|
||||
|
|
|
@ -76,7 +76,7 @@ dependencyResolutionManagement {
|
|||
def byteBuddyVersion = version "byteBuddy", "1.14.18"
|
||||
def classmateVersion = version "classmate", "1.5.1"
|
||||
def geolatteVersion = version "geolatte", "1.9.1"
|
||||
def hibernateModelsVersion = version "hibernateModels", "0.9.0"
|
||||
def hibernateModelsVersion = version "hibernateModels", "0.9.1"
|
||||
def jandexVersion = version "jandex", "3.2.0"
|
||||
def jacksonVersion = version "jackson", "2.17.0"
|
||||
def jbossLoggingVersion = version "jbossLogging", "3.6.0.Final"
|
||||
|
|
Loading…
Reference in New Issue