aspose file tools*
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
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "JPA, Spring and hibernate.ejb.interceptor " Watch "JPA, Spring and hibernate.ejb.interceptor " New topic
Author

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:

persistence.xml:



Application-context.xml



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: http://aspose.com/file-tools
 
subject: JPA, Spring and hibernate.ejb.interceptor