This week's book giveaway is in the Open Source forum.
We're giving away four copies of RabbitMQ in Depth and have Gavin Roy on-line!
See this thread for details.
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 RabbitMQ in Depth this week in the Open Source 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

I agree. Here's the link:
subject: JPA, Spring and hibernate.ejb.interceptor