[jboss-user] [JBoss Seam] - Re: Hibernate SessionFactory in Seam App?

gavin.king@jboss.com do-not-reply at jboss.com
Wed Dec 20 13:32:48 EST 2006


What is a "custom servlet"?

You can create Hibernate SessionFactorys anyway you like, but why not use a Seam-managed persistence context? Then you can do @In Session mySession, and get a conversation-scoped PC. Check the exmaples/hibernate2 example.

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

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



More information about the jboss-user mailing list