mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-08 20:24:46 +00:00
HHH-18181 Include property and class for PropertyBinder errors
This commit is contained in:
parent
e1051c26d0
commit
475e780da1
@ -305,8 +305,9 @@ private void callAttributeBinders(Property property, Map<String, PersistentClass
|
|||||||
binder.bind( metaAnnotatedTarget, buildingContext, persistentClass, property );
|
binder.bind( metaAnnotatedTarget, buildingContext, persistentClass, property );
|
||||||
}
|
}
|
||||||
catch ( Exception e ) {
|
catch ( Exception e ) {
|
||||||
throw new AnnotationException( "error processing @AttributeBinderType annotation '" +
|
throw new AnnotationException( "error processing @AttributeBinderType annotation '"
|
||||||
metaAnnotatedDescriptor.getAnnotationType().getName() + "'", e );
|
+ metaAnnotatedDescriptor.getAnnotationType().getName() + "' for property "
|
||||||
|
+ qualify( holder.getPath(), name ), e );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user