Package com.microsoft.sqlserver.jdbc
Class SQLServerXAConnection
java.lang.Object
com.microsoft.sqlserver.jdbc.SQLServerPooledConnection
com.microsoft.sqlserver.jdbc.SQLServerXAConnection
- All Implemented Interfaces:
Serializable,PooledConnection,XAConnection
Provides JDBC connections that can participate in distributed (XA) transactions.
- See Also:
- Serialized Form
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the physical connection that this PooledConnection object represents.Methods inherited from class com.microsoft.sqlserver.jdbc.SQLServerPooledConnection
addConnectionEventListener, addStatementEventListener, getConnection, removeConnectionEventListener, removeStatementEventListener, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.sql.PooledConnection
addConnectionEventListener, addStatementEventListener, getConnection, removeConnectionEventListener, removeStatementEventListener
-
Method Details
-
getXAResource
- Specified by:
getXAResourcein interfaceXAConnection- Throws:
SQLException
-
close
Closes the physical connection that this PooledConnection object represents.- Specified by:
closein interfacePooledConnection- Overrides:
closein classSQLServerPooledConnection- Throws:
SQLException
-