Redigera

Dela via


SQLServerXAResource Class

Download JDBC driver

Represents an XAResource for XA distributed transaction management.

Package: com.microsoft.sqlserver.jdbc

Extends: java.lang.Object

Implements: javax.transaction.xa.XAResource

Syntax

  
public class SQLServerXAResource  

Remarks

XA transactions are implemented in SQL Server by using Microsoft Distributed Transaction Manager (DTC). The SQLServerXAResource class makes calls to a SQL Server 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.

See Also

SQLServerXAResource Members
JDBC Driver API Reference