| title | SQLServerXAConnection Class |
|---|---|
| description | SQLServerXAConnection Class |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
[!INCLUDEDriver_JDBC_Download]
Represents JDBC connections that can participate in distributed (XA) transactions.
Package: com.microsoft.sqlserver.jdbc
Extends: SQLServerPooledConnection
Implements: javax.sql.XAConnection
public class SQLServerXAConnection
A SQLServerXAConnection object can be enlisted in a distributed transaction by means of an SQLServerXAResource object. A transaction manager, usually part of a middle tier server, manages a SQLServerXAConnection object through the SQLServerXAResource object.
Note
Application programmers typically do not use this interface directly. It is primarily used by a transaction manager working in the middle tier server.