共用方式為


getHoldability Method (SQLServerConnection)

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

public int getHoldability()

傳回值

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

HOLD_CURSORS_OVER_COMMIT

CLOSE_CURSORS_AT_COMMIT

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerConnection Class

概念

SQLServerConnection Methods
SQLServerConnection Members