Consistently support Hibernate annotation hint inference on methods
See gh-32842
This commit is contained in:
parent
4da1511ed3
commit
f6b608eecb
|
|
@ -200,6 +200,8 @@ class PersistenceManagedTypesBeanRegistrationAotProcessor implements BeanRegistr
|
|||
registerForReflection(reflection,
|
||||
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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue