HHH-17568 The none variant of BytecodeProviderImpl @Nullable ReflectionOptimizer getReflectionOptimizer(Class<?> clazz, Map<String, PropertyAccess> propertyAccessMap) should return null
This commit is contained in:
parent
1556cb40a5
commit
62d1f1a13a
|
@ -45,7 +45,7 @@ public final class BytecodeProviderImpl implements BytecodeProvider {
|
|||
|
||||
@Override
|
||||
public @Nullable ReflectionOptimizer getReflectionOptimizer(Class<?> clazz, Map<String, PropertyAccess> propertyAccessMap) {
|
||||
throw new HibernateException( "Using the ReflectionOptimizer is not possible when the configured BytecodeProvider is 'none'. Use a different BytecodeProvider" );
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue