[jboss-user] [JBoss Seam] - How to configure 2 Session Factories?

mgrouch do-not-reply at jboss.com
Fri Sep 21 19:29:36 EDT 2007


How to configure 2 Session Factories?

I've tried:


  | 	<core:hibernate-session-factory name="hibernateSessionFactory" />
  | 	<core:managed-hibernate-session name="settlementsDatabase" auto-create="true"
  | 		session-factory-jndi-name="java:/settlementsHibernateSessionFactory" />
  | 	<core:managed-hibernate-session name="settlementsHistDatabase" auto-create="true"
  | 		session-factory-jndi-name="java:/settlementsHistHibernateSessionFactory" />

Fist one is configured fine. Second one is not initialized at all.

Thanks


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

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



More information about the jboss-user mailing list