- /*
- * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
-
- package javax.sql;
-
- import java.sql.*;
-
-
- /**
- * <P>An XAConnection object provides support for distributed
- * transactions. An XAConnection may be enlisted in a distributed
- * transaction by means of an XAResource object.
- */
-
- public interface XAConnection extends PooledConnection {
-
-
- /**
- * <P>Return an XA resource to the caller.
- *
- * @return the XAResource
- * @exception SQLException if a database-access error occurs
- */
- javax.transaction.xa.XAResource getXAResource() throws SQLException;
-
- }
-
-
-
-
-