This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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
jQuery in Action, 3rd edition