Class SQLServerXAConnection

  • All Implemented Interfaces:
    java.io.Serializable, javax.sql.PooledConnection, javax.sql.XAConnection

    public final class SQLServerXAConnection
    extends SQLServerPooledConnection
    implements javax.sql.XAConnection
    Provides JDBC connections that can participate in distributed (XA) transactions.
    See Also:
    Serialized Form
    • Method Detail

      • getXAResource

        public javax.transaction.xa.XAResource getXAResource()
                                                      throws java.sql.SQLException
        Specified by:
        getXAResource in interface javax.sql.XAConnection
        Throws:
        java.sql.SQLException
      • close

        public void close()
                   throws java.sql.SQLException
        Closes the physical connection that this PooledConnection object represents.
        Specified by:
        close in interface javax.sql.PooledConnection
        Overrides:
        close in class SQLServerPooledConnection
        Throws:
        java.sql.SQLException