3 Replies Latest reply on Oct 31, 2002 2:32 AM by patrick

    Setting up multiple mySQL databases underneath JBoss3

    davout Newbie

      I'm a JBoss/EJB newbie... so I would be very grateful if somebody could help me with some 'idiot' level instructions on how to setup multiple mySQL databases under JBoss3 for CMP2.0 entity beans. (I'm using JBuilder7 as my IDE)

      To date I've copied the 'mysql-service.xml' file into the 'server/default/deploy/' folder and set this config file so that it points at a specific mySQL database 'test01', like...



      <config-property name="ConnectionURL"
      type="java.lang.String">
      jdbc:mysql://localhost:3306/test01
      </config-property>

      Now I have another prototype bean I have developed that exists in a second mySQL database called 'test02'.

      How and where do I define the link to this second database?