-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate Interceptors in hibernate.cfg.xml file?
PostPosted: Sun Dec 17, 2006 11:04 pm 
Newbie

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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.