Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

@Entitylistners annotation not working

 
sam bartl
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is my question not clear? Please advice why entitylistners are not working in my case , do you need more info please help.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!