0 Replies Latest reply on Feb 11, 2005 11:17 AM by Bill Burke

    Multiplas database with JBoss and EJB3

    Bill Burke Master

      right now, you can only have one EntityManager per jar

      If you are implement an EAR, then there is only one EntityManager per EAR.

      This means that you can only have one datasource per EAR or per JAR.

      Take a look at this doco here:


      Bascially what you have to do is create a hibernate.properties file and put it in the META-INF of your EJB jar (.ejb3 file) or in your .ear.