1 Reply Latest reply on Oct 29, 2004 10:16 AM by darranl

    jbosscmp-jdbc.xml file for several DB

    adini

      Hello,

      I am new to Jboss and I try to build an ear (compose by CMPs) which can work with different kind of DB.
      In the jbosscmp-jdbc file I see that a tag datasource-mapping indicates the king of DB. Is this tag obligatory, or if I want to deploy my ear working with Mysql and tomorrow working with postgres, should I build again my ear with indicating the value of the datasource-mapping ?

      Thanks for help.

        • 1. Re: jbosscmp-jdbc.xml file for several DB
          darranl

          In earlier versions the jbosscmp-jdbc file was the only place that you could specify the mappings.

          A change has been added to specify the mapping when deploying the datasource, I can't remeber which version this was added to.