Joined: Sun Dec 17, 2006 10:53 pm Posts: 2
|
I am working on a Seam prototype that uses Hibernate rather than EJB3. In my prototype I want to use some existing Hibernate Interceptors that I wrote earlier. In the Hibernate tutorial, I've read about how you can programatically set an Interceptor in your SessionFactory.
Seam is managing my SessionFactory so I can't set an Interceptor as far as I know. What I would like to know is if it is possible for me to configure my Interceptor in my hibernate.cfg.xml file (like I can with Hibernate listeners) or if I will have to not use the Seam managed Hibernate component and write my own alternative that could set my Interceptor as it created my SessionFactory.
Thanks in advance.
|
|