0 Replies Latest reply on Feb 25, 2004 8:33 PM by cst97025

    Retrieving CMP datasource at runtime

    cst97025

      JBoss 3.2.1, CMP 2.0

      My CMP datasource is set in the defaults section of jbosscmp-jdbc.xml.

      How can I retrieve the value of the datasource setting at runtime? (or any other defaults defined here, for that matter).

      I'd like to use the same one for some BMPs but not have to change it anywhere except in the one xml file.

      A little code snippet showing how to get this value from within my app would be appreciated.

      Tim