Hello guys, We faced a problem with in-house constraints that were used to annotate classes (Target = ElementType.TYPE). When we debugged a little, we found out that the MetaConstraint constrictor that takes Type t sets the element type as ElementType.FIELD. I created issue HV-123<http://opensource.atlassian.com/projects/hibernate/browse/HV-123>for that, and attached a patch.
Regards, Alaa Nassef
_______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev