Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.2 KB

File metadata and controls

45 lines (33 loc) · 1.2 KB
title prepare Method (SQLServerXAResource)
description prepare Method (SQLServerXAResource)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerXAResource.prepare
apitype Assembly

prepare Method (SQLServerXAResource)

[!INCLUDEDriver_JDBC_Download]

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