JBoss Community

Deprecated elements?

created by mikevan in Datasource Configuration - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community