Reference: http://www.hibernate.org/66.html
Question:
Suppose we have a need for another Hibernate SessionFactory that communicates with a mutually exclusive datasource and our application server is JBoss 3.2.3.
Is it possible for JBoss to have more than one Hibernate SAR, and are there any special configurations I need to consider? Or is it just a matter of changing the MBean name and the datasource value in the jboss-service.xml?
Both SARs depend on the same domain objects in a separate JAR and have the same HBM mapping files.
Thanks,
Roll