Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.46 KB

File metadata and controls

48 lines (36 loc) · 1.46 KB
title getHoldability Method (SQLServerConnection) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerConnection.getHoldability
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid b1644791-c36a-4837-86c4-9299537ee1c2
author David-Engel
ms.author v-daenge

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