getHoldability Method (SQLServerConnection)

Download JDBC driver

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