Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

@Entitylistners annotation not working  RSS feed

 
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!