aspose file tools*
The moose likes Object Relational Mapping and the fly likes @Entitylistners  annotation not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "@Entitylistners  annotation not working" Watch "@Entitylistners  annotation not working" New topic

@Entitylistners annotation not working

sam bartl
Ranch Hand

Joined: Oct 29, 2010
Posts: 44
I am using hibernate with spring. I use hibernate annotations and now I want to add Entitylisteners on one of my entity. I annotated some of the methods and added @entityListner to the entity, but neither the listner nor the mthods annotated with callback annotations are called , does entityListeners annotation works only work with JPA ? does these annotation work when using hibernate (3.5.1-Final) and spring
sam bartl
Ranch Hand

Joined: Oct 29, 2010
Posts: 44
Is my question not clear? Please advice why entitylistners are not working in my case , do you need more info please help.
I agree. Here's the link:
subject: @Entitylistners annotation not working
Similar Threads
spring in action - annotations
Hibernate Annotations
Hibernate annotation configuration for multiple annotated classes
java.lang.NoClassDefFoundError: org/hibernate/annotations/Entity
hibernate search indexing not working