HHH-17568 The none variant of BytecodeProviderImpl @Nullable ReflectionOptimizer getReflectionOptimizer(Class<?> clazz, Map<String, PropertyAccess> propertyAccessMap) should return null

This commit is contained in:
Andrea Boriero 2024-01-29 17:06:16 +01:00 committed by Steve Ebersole
parent 1556cb40a5
commit 62d1f1a13a
1 changed files with 1 additions and 1 deletions

View File

@ -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