Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.19 KB

File metadata and controls

47 lines (34 loc) · 1.19 KB
title commit Method (SQLServerXAResource)
description commit 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.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