XADatasource in JBossAS & Hibernate

If you have ever wondered how you can use an XA Datasource in your JBoss AS, this is the answer. First you need to define the XA Datasource in your JBossAS, it is as easy as creating an XML file like this: XAOracleDS true false oracle.jdbc.xa.client.OracleXADataSource jdbc:oracle:thin:@monkeymachine:1521:jboss jboss password org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter jboss:service=TransactionManager Then you need to… Continue reading XADatasource in JBossAS & Hibernate