Compartir a través de


getResultSetHoldability Method (SQLServerDatabaseMetaData)

Retrieves the default holdability of result sets for this database.

public int getResultSetHoldability()

Valor devuelto

An int that indicates the default holdability.

Excepciones

SQLServerException

Notas

This getResultSetHoldability method is specified by the getResultSetHoldability method in the java.sql.DatabaseMetaData interface.

When using the Microsoft SQL Server 2005 JDBC Driver with a SQL Server database, this methods returns 1, which is equivalent to the ResultSet.HOLD_CURSORS_OVER_COMMIT constant.

Vea también

Referencia

SQLServerDatabaseMetaData Class

Conceptos

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members