• Post Reply Bookmark Topic Watch Topic
  • New Topic

JPA, Spring and hibernate.ejb.interceptor

 
K Mansoor
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Folks- I am trying to set up hibernate.ejb.interceptor but for some reason it never gets to 'intercept' any update or insert event. The application seems to work fine, updating and inserting entities but no interception.

I cannot find what is wrong with my setup, please help:

persistence.xml:



Application-context.xml



Interceptor (From manning book):



The Spring bean (found it on the web):

 
K Mansoor
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is complete applicationcontext.xml

 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
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!