1 Reply Latest reply on Feb 3, 2005 8:44 PM by Scott Stark

    Is datasource attribute 'type-mapping' available through JMX

    Charles Crouch Expert

      I've deployed the example datasource for Oracle, shown below, into JBoss 4.0.1. I'm looking for the various attributes through the jmx-console and I can find all of them except type-mapping, which has the value of 'Oracle9i' below. Could someone please point me to which MBean it is available through.

      Thanks

      <datasources>
       <local-tx-datasource>
       <jndi-name>OracleDS</jndi-name>
       <connection-url>jdbc:oracle:thin:@youroraclehost:1521:yoursid</connection-url>
       <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
       <user-name>x</user-name>
       <password>y</password>
       <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
       <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
       <metadata>
       <type-mapping>Oracle9i</type-mapping>
       </metadata>
       </local-tx-datasource>
      
      </datasources>