An XAConnection object provides support for distributed transactions. An XAConnection may be enlisted in a distributed transaction by means of an XAResource object.
getXAResource() Return an XA resource to the caller. |
Methods inherited from interface javax.sql.PooledConnection |
addConnectionEventListener,close,getConnection,removeConnectionEventListener |
publicXAResourcegetXAResource() throws java.sql.SQLException
Return an XA resource to the caller.
java.sql.SQLException
- if a database-access error occurs