-
Bug
-
Resolution: Done
-
Major
-
7.1.0.Alpha1
-
None
-
None
Frameworks such as Spring Roo may place @Entity annotations via bytecode manipulation (since compilation is impossible) on methods, as in:
@Aspect @ajcPrivileged public class Owner_Roo_Entity { .... @Entity @ajcDeclareAnnotation(pattern="com.springsource.petclinic.domain.Owner", annotation="@Entity", kind="at_type") void ajc$declare_at_type_1() { } .... }
This causes HibernateAnnotationScanner to crash with a CNFE on 'ajc$declare_at_type_1'.
Solution: make HibernateAnnotationScanner ignore these
This seems to have been fixed