We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d8327f commit 7fba0a0Copy full SHA for 7fba0a0
hibernate-core/src/main/java/org/hibernate/cfg/annotations/SimpleValueBinder.java
@@ -477,7 +477,7 @@ public void fillSimpleValue() {
477
if ( simpleValue.getTypeName() != null && simpleValue.getTypeName().length() > 0
478
&& simpleValue.getMetadata().getTypeResolver().basic( simpleValue.getTypeName() ) == null ) {
479
try {
480
- Class typeClass = StandardClassLoaderDelegateImpl.INSTANCE.classForName( simpleValue.getTypeName() );
+ Class typeClass = buildingContext.getClassLoaderAccess().classForName( simpleValue.getTypeName() );
481
482
if ( typeClass != null && DynamicParameterizedType.class.isAssignableFrom( typeClass ) ) {
483
Properties parameters = simpleValue.getTypeParameters();
0 commit comments