Skip to content

Latest commit

 

History

History
58 lines (45 loc) · 3.47 KB

File metadata and controls

58 lines (45 loc) · 3.47 KB
title SQLServerXAResource Members | 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 a069bf2c-1b70-4817-b084-a508445de799
author David-Engel
ms.author v-daenge

SQLServerXAResource Members

[!INCLUDEDriver_JDBC_Download]

The following tables list the members exposed by the SQLServerXAResource class.

Constructors

None.

Fields

Name Description
SSTRANSTIGHTLYCPLD Used to allow the tightly coupled XA transactions, which have different XA branch transaction IDs (XIDs) but have the same global transaction ID (GTRID).

Inherited Fields

Class inherited from: Methods
javax.transaction.xa.XAResource TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY

Methods

Name Description
commit Commits the global transaction specified by the given Xid object.
end Ends the work performed on behalf of a transaction branch.
forget Tells the resource manager to forget about a heuristically completed transaction branch.
getTransactionTimeout Obtains the current transaction timeout value set for this SQLServerXAResource object.
isSameRM Determines if the resource manager instance represented by the target object is the same as the resource manager instance represented by the given XAResource object.
prepare Requests that the resource manager prepare for a transaction commit of the transaction specified by the given Xid object.
recover Obtains a list of prepared transaction branches from a resource manager.
rollback Requests that the resource manager roll back work done on behalf of a transaction branch.
setTransactionTimeout Sets the current transaction timeout value for this SQLServerXAResource object.
start Starts work on behalf of a transaction branch specified in the Xid object.

Inherited Methods

Class inherited from: Methods
java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait

See Also

SQLServerXAResource Class