HHH-17504 - Ongoing JPA 32 work HHH-17350 - Work on hibernate-models, XSD and JAXB HHH-16114 - Improve boot metamodel binding HHH-15996 - Develop an abstraction for Annotation in annotation processing HHH-16012 - Develop an abstraction for domain model Class refs HHH-15997 - Support for dynamic models in orm.xml HHH-15698 - Support for entity-name in mapping.xsd

This commit is contained in:
Andrea Boriero 2024-03-13 11:58:37 +01:00 committed by Steve Ebersole
parent 34331fcb29
commit 875be0f3fa
1 changed files with 3 additions and 3 deletions

View File

@ -381,9 +381,9 @@ public class EntityBinder {
}
private void applyTypeBinder(AnnotationUsage<?> metaAnnotated, PersistentClass persistentClass) {
final AnnotationUsage<TypeBinderType> metaAnnotation = metaAnnotated.getAnnotationDescriptor().getAnnotationUsage( TypeBinderType.class );
final ClassDetails binderClassDetails = metaAnnotation.getClassDetails( "binder" );
final Class<TypeBinder<?>> binderClass = binderClassDetails.toJavaClass();
final Class<? extends TypeBinder<?>> binderClass = metaAnnotated.getAnnotationType()
.getAnnotation( TypeBinderType.class )
.binder();
final Annotation containingAnnotation = metaAnnotated.toAnnotation();