Class SQLServerXAResource

java.lang.Object
com.microsoft.sqlserver.jdbc.SQLServerXAResource
All Implemented Interfaces:
XAResource

public final class SQLServerXAResource extends Object implements XAResource
Provides an XAResource for XA distributed transaction management. XA transactions are implemented over SQL Server using Microsoft Distributed Transaction Manager (DTC). SQLServerXAResource makes calls to a SQL Server extended dll called SQLServer_XA.dll which interfaces with DTC. XA calls received by SQLServerXAResource (XA_START, XA_END, XA_PREPARE etc) are mapped to the corresponding calls to DTC functions. SQLServerXAResource may also be configured not to use DTC. In this case distributed transactions are simply implemented as local transactions.