[jboss-user] [JBoss Seam] - Re: Can Seam work with no ejb3 but with Hibernate ORM?

gavin.king@jboss.com do-not-reply at jboss.com
Thu Dec 14 14:24:11 EST 2006


anonymous wrote :  Is there a way to somehow provide Seam with the Factory that our app built?

Sure, Seam has some built-in component that manages a Hibernate SessionFactory, but absolutely nothing forces you to use this (simple) class. There is no problem at all to write you own. Just use org.jboss.seam.core.HibernateSessionFactory for inspiration.

anonymous wrote : Seam will bootstrap a Hibernate SessionFactory from your hibernate.cfg.xml file if you install the built-in
  | component named org.jboss.seam.core.hibernate. 

Ahem, this comment is actually obsolete, I'll fix the docs.

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

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



More information about the jboss-user mailing list