File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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
java.lang.NoClassDefFoundError: org/hibernate/annotations/Entity
spring in action - annotations
Hibernate annotation configuration for multiple annotated classes
Hibernate Annotations
hibernate search indexing not working