- All Superinterfaces:
public interface XAConnection extends PooledConnectionAn object that provides support for distributed transactions. An
XAConnectionobject may be enlisted in a distributed transaction by means of an
XAResourceobject. A transaction manager, usually part of a middle tier server, manages an
XAConnectionobject through the
An application programmer does not use this interface directly; rather, it is used by a transaction manager working in the middle tier server.
XAResource getXAResource() throws SQLExceptionRetrieves an
XAResourceobject that the transaction manager will use to manage this
XAConnectionobject's participation in a distributed transaction.