Consistently support Hibernate annotation hint inference on methods
See gh-32842
This commit is contained in:
@@ -200,6 +200,8 @@ class PersistenceManagedTypesBeanRegistrationAotProcessor implements BeanRegistr
|
|||||||
registerForReflection(reflection,
|
registerForReflection(reflection,
|
||||||
AnnotationUtils.findAnnotation(field.getType(), embeddableInstantiatorClass), "value");
|
AnnotationUtils.findAnnotation(field.getType(), embeddableInstantiatorClass), "value");
|
||||||
});
|
});
|
||||||
|
ReflectionUtils.doWithMethods(managedClass, method -> registerForReflection(reflection,
|
||||||
|
AnnotationUtils.findAnnotation(method, embeddableInstantiatorClass), "value"));
|
||||||
}
|
}
|
||||||
|
|
||||||
Class<? extends Annotation> valueGenerationTypeClass = loadClass("org.hibernate.annotations.ValueGenerationType", classLoader);
|
Class<? extends Annotation> valueGenerationTypeClass = loadClass("org.hibernate.annotations.ValueGenerationType", classLoader);
|
||||||
|
|||||||
Reference in New Issue
Block a user