How do you deploy a class with custom annotations on JBoss? We have annotated a POJO with the following annotations:
@Entity
@org.hibernate.annotations.Entity(persister=”custom-persister”)
@Table(name=”TEST”)
@CustomAnnotation(value=”test”)
We can retrieve the custom annotation on the class when we test outside the container. However, when the class is passed to our custom-persister, the only annotation on the class is org.hibernate.annotations.Entity. We placed the jar file containing the custom annotation in server/all/lib and it seems to be resolving correctly.
|