Redigera

Dela via


commit Method (SQLServerXAResource)

Download JDBC driver

Commits the global transaction that is specified by the given Xid object.

Syntax

  
public void commit(javax.transaction.xa.Xid xid,  
                   boolean onePhase)  

Parameters

xid

An Xid object.

onePhase

A boolean value.

Exceptions

javax.transaction.xa.XAException

Remarks

This commit method is specified by the commit method in the javax.transaction.xa.XAResource interface.

See Also

SQLServerXAResource Methods
SQLServerXAResource Members
SQLServerXAResource Class