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