Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.38 KB

File metadata and controls

44 lines (32 loc) · 1.38 KB
title getHoldability Method (SQLServerConnection)
description getHoldability Method (SQLServerConnection)
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 SQLServerConnection.getHoldability
apitype Assembly

getHoldability Method (SQLServerConnection)

[!INCLUDEDriver_JDBC_Download]

Retrieves the current holdability of SQLServerResultSet objects created by using this SQLServerConnection object.

Syntax

  
public int getHoldability()  

Return Value

An int value that contains one of the following holdability levels:

HOLD_CURSORS_OVER_COMMIT

CLOSE_CURSORS_AT_COMMIT

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerConnection Members
SQLServerConnection Class