[jboss-user] [JBoss Seam] - Re: hbm2ddl and multiple datasources

dennisrjohn do-not-reply at jboss.com
Mon Dec 17 19:14:08 EST 2007


Also, I forgot to include the entity manager definitions in my pervious post:

components.xml:


  |    <persistence:managed-persistence-context name="entityManager"
  |                                      auto-create="true"
  |                           entity-manager-factory="#{customerserviceEntityManagerFactory}"/>
  | 
  |    <persistence:entity-manager-factory name="customerserviceEntityManagerFactory" 
  |                       persistence-unit-name="customerservice"/>
  |    
  |    <persistence:managed-persistence-context name="stoneEdgeEntityManager"
  |                                      auto-create="true"
  |                           entity-manager-factory="#{stoneedgeEntityManagerFactory}"/>
  | 
  |    <persistence:entity-manager-factory name="stoneedgeEntityManagerFactory" 
  |                       persistence-unit-name="stoneedge"/>
  | 
  | 

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

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



More information about the jboss-user mailing list