public interface XAConnection extends PooledConnection
XA is a standard for distributed transactions. XAConnection is a connection object that can participate in such distributed transactions.
getXAResource
public javax.transaction.xa.XAResource getXAResource() throws java.sql.SQLException
This obtains an XA resource to the caller in order to register it as a participant in a distributed transaction. A SQLException is thrown if a database access error occurs.
Returns: The XAResource