| title | SQLServerXAConnection Class | Microsoft Docs |
|---|---|
| ms.custom | |
| ms.date | 01/19/2017 |
| ms.prod | sql |
| ms.prod_service | connectivity |
| ms.reviewer | |
| ms.technology | connectivity |
| ms.topic | conceptual |
| ms.assetid | 5ecb4bf1-b8d1-47cf-9cb1-7a18acc11ce2 |
| author | David-Engel |
| ms.author | v-daenge |
[!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.