bfernandez.jbpm-jpdl.3.2.19.ayg.source-code.jbpm-oracle-ds.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <datasources> <xa-datasource> <jndi-name>JbpmDS</jndi-name> <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class> <xa-datasource-property name="URL">${jdbc.oracle.url}</xa-datasource-property> <user-name>${jdbc.oracle.username}</user-name> <password>${jdbc.oracle.password}</password> <!-- isolate connections used with JTA from those used without JTA --> <no-tx-separate-pools /> <!-- disable transaction interleaving --> <track-connection-by-tx /> <!-- force XAResource.isSameRM(XAResource) to return false --> <isSameRM-override-value>false</isSameRM-override-value> <!-- check oracle error codes and messages for fatal errors --> <exception-sorter-class-name> org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter </exception-sorter-class-name> <!-- use pingDatabase method to check a connection is still valid --> <valid-connection-checker-class-name> org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker </valid-connection-checker-class-name> <!-- corresponding type-mapping in standardjbosscmp-jdbc.xml --> <type-mapping>Oracle9i</type-mapping> </xa-datasource> <mbean code="org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter" name="jboss.jca:service=OracleXAExceptionFormatter"> <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends> </mbean> </datasources>