Muokkaa

Jaa


SQLServerXAResource Members

Download JDBC driver

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