permaculture playing cards*
The moose likes Object Relational Mapping and the fly likes JPA, Spring and hibernate.ejb.interceptor 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 "JPA, Spring and hibernate.ejb.interceptor " Watch "JPA, Spring and hibernate.ejb.interceptor " New topic

JPA, Spring and hibernate.ejb.interceptor

K Mansoor
Ranch Hand

Joined: Jan 10, 2006
Posts: 52
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:



Interceptor (From manning book):

The Spring bean (found it on the web):

K Mansoor
Ranch Hand

Joined: Jan 10, 2006
Posts: 52
Here is complete applicationcontext.xml

Consider Paul's rocket mass heater.
subject: JPA, Spring and hibernate.ejb.interceptor
Similar Threads
Second level cache does not work
Netbeans EJB3 bean can only read and not write
EJB3 Entity Bean won't verify with Netbeans
Passing EntityManager reference between methods doesn't work as expected
Help with JPA