1 Reply Latest reply on Nov 2, 2012 10:11 AM by wdfink

    Deprecated elements?

    mikevan

      All,

       

      I'm converting an application from 4.2.3 to 7.1.1, and am having some issues related to potentially missing or deprecated elements in the -ds.xml file.  Specifically,  I am seeing that the local-tx-datasource appears to be deprecated.  Additionally, I cannot find the equivalent to the following elements. Are there equivalents?

      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml-->
      <metadata>
         <type-mapping>Oracle9i</type-mapping>
      </metadata>
      <!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -->
      <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name>
      <!-- Checks the Oracle error codes and messages for fatal errors -->
      <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>

       

      Any help would be greatly appreciated.

       

      Mike Van