[jboss-user] [JBoss Seam] - Interceptor.onLoad not called

wise_guybg do-not-reply at jboss.com
Fri Aug 17 09:30:22 EDT 2007


Hi,
I have a Seam 1.2.1.GA application. I installed an implementation of the interface org.hibernate.Interceptor and declared it in the persistence.xml as hibernate.ejb.interceptor.

The interceptor works (ex.: onSave(), onFlushDirty()) except that onLoad() doesn't get called. I don't know what is wrong in the Hibernate implementation. I guess that there is a problem with the DefaultPreLoadEventListener who should call my interceptor.

He is defined in org.hibernate.event.EventListeners as a default listener to the event "pre-load". I can try declaring event listeners instead of the interceptor but I want to know why the interceptor doesn't work as it is supposed to.

I use JBoss 4.2.1.GA which has a Hibernate 3.2.1 SP1 implementation.

PS Excuse me if this is not the place to ask about this question.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075211#4075211

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075211



More information about the jboss-user mailing list