Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.23 KB

File metadata and controls

48 lines (35 loc) · 1.23 KB
title commit Method (SQLServerXAResource)
description commit Method (SQLServerXAResource)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerXAResource.commit
apitype Assembly

commit Method (SQLServerXAResource)

[!INCLUDEDriver_JDBC_Download]

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