Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Method Summary
`XAResource` | `getXAResource()` Return an XA resource to the caller.

Methods inherited from interface javax.sql.PooledConnection
`addConnectionEventListener, close, getConnection, removeConnectionEventListener`

Method Detail

### getXAResource

    public XAResource getXAResource()
                             throws SQLException

  Return an XA resource to the caller.

  Returns:
    the XAResource
  Throws:
    `SQLException` - - if a database-access error occurs

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.