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