Breyta

Deila með


setHoldability Method (SQLServerConnection)

Download JDBC driver

Changes the holdability of SQLServerResultSet objects that are created by using this SQLServerSavepoint object to the given holdability.

Syntax

  
public void setHoldability(int nNewHold)  

Parameters

nNewHold

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

HOLD_CURSORS_OVER_COMMIT

CLOSE_CURSORS_AT_COMMIT

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerConnection Members
SQLServerConnection Class