3 Replies Latest reply on Apr 12, 2005 11:53 AM by micke

    Am I able to relocate <datasource-mapping/> ?

    Collin Novice

      This is under JBoss 3.2.3.

      We deploy our application to clients with various datasources. To date we've kept the datasource-mapping for the CMP layer in

      ejb.jar/META-INF/jbosscmp-jdbc.xml

      But that means we have to package two different versions of our product to use the different kinds of datasources, the only difference being the <datasource-mapping/> element (mySQL, MS SQLSERVER, etc).

      Is there a way I can supply this value programmatically instead of having it in jbosscmp-jdbc.xml so that we can just supply one version of our product?

      many thanks,
      Collin