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:
parent
34331fcb29
commit
875be0f3fa
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue