| title | SQLServerXAResource 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 | df957b79-536f-4db7-b6ac-3d59343559fc |
| author | David-Engel |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Represents an XAResource for XA distributed transaction management.
Package: com.microsoft.sqlserver.jdbc
Extends: java.lang.Object
Implements: javax.transaction.xa.XAResource
public class SQLServerXAResource
XA transactions are implemented in [!INCLUDEssNoVersion] by using [!INCLUDEmsCoName] Distributed Transaction Manager (DTC). The SQLServerXAResource class makes calls to a [!INCLUDEssNoVersion] extended dll named sqljdbc_xa.dll, which interfaces with DTC. XA calls that are received by SQLServerXAResource (XA_START, XA_END, XA_PREPARE, and so forth) are mapped to the corresponding calls to DTC functions.