Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.39 KB

File metadata and controls

56 lines (43 loc) · 1.39 KB
title commit Method (SQLServerXAResource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.suite sql
ms.technology connectivity
ms.tgt_pltfrm
ms.topic conceptual
apiname
SQLServerXAResource.commit
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 1d0f8612-fb4a-4eca-bc37-8342e1419fd4
caps.latest.revision 7
author MightyPen
ms.author genemi
manager craigg

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