Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.25 KB

File metadata and controls

39 lines (29 loc) · 1.25 KB
title rollback Method ()
description rollback Method ()
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerConnection.rollback ()
apitype Assembly

rollback Method ()

[!INCLUDEDriver_JDBC_Download]

Undoes all changes made in the current transaction and releases any database locks currently held by this SQLServerConnection object.

Syntax

  
public void rollback()  

Exceptions

SQLServerException

Remarks

This rollBack method is specified by the rollBack method in the java.sql.Connection interface.

This method should be used only when auto-commit mode has been disabled.

See Also

rollback Method (SQLServerConnection)
SQLServerConnection Members
SQLServerConnection Class