javax.sql
Interface XAConnection
- public abstract interface XAConnection
- extends PooledConnection
An XAConnection object provides support for distributed
transactions. An XAConnection may be enlisted in a distributed
transaction by means of an XAResource object.
Method Summary |
javax.transaction.xa.XAResource |
getXAResource()
Return an XA resource to the caller. |
getXAResource
public javax.transaction.xa.XAResource getXAResource()
throws java.sql.SQLException
Return an XA resource to the caller.
- Returns:
- the XAResource
- Throws:
- java.sql.SQLException - if a database-access error occurs