1 Reply Latest reply on Aug 12, 2010 5:08 AM by Muralidhar S

    How to define multiple session factories jboss5.1

    Muralidhar S Newbie



      How can I define multiple session factories in the jboss-service-hibernate.xml file?


      When I tried to define as below, I get the parsing exception:


      <hibernate-configuration xmlns="urn:jboss:hibernate-deployer:1.0">


           <session-factory name="java:/hibernate/MasterHibernateFactory" ....>




           <session-factory name="java:/hibernate/DefaultHibernateFactory" ....>







      Any help please?