prepare Method (SQLServerXAResource)

Download JDBC driver

Requests that the resource manager prepare for a transaction commit of the transaction specified by the given Xid object.

Syntax

  
public int prepare(javax.transaction.xa.Xid xid)  

Parameters

xid

An Xid object.

Return Value

An int value.

Exceptions

javax.transaction.xa.XAException

Remarks

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

See Also

SQLServerXAResource Methods
SQLServerXAResource Members
SQLServerXAResource Class