javax.sql
Interface XAConnection
- All Superinterfaces:
- PooledConnection
public 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.
getXAResource
XAResource getXAResource()
throws SQLException
- Return an XA resource to the caller.
- Returns:
- the XAResource
- Throws:
SQLException
- - if a database-access error occurs
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.