Compartir a través de


updatesAreDetected Method (SQLServerDatabaseMetaData)

Retrieves whether or not a visible row update can be detected by calling the rowUpdated method of the SQLServerResultSet class.

public boolean updatesAreDetected(int type)

Parámetros

type

An int that indicates the result set type, which can be one of the following values as defined in java.sql.ResultSet or SQLServerResultSet:

java.sql.ResultSet Types

TYPE_FORWARD_ONLY

TYPE_SCROLL_SENSITIVE

TYPE_SCROLL_INSENSITIVE

SQLServerResultSet Types

TYPE_SS_SCROLL_STATIC

TYPE_SS_SCROLL_KEYSET

TYPE_SS_DIRECT_FORWARD_ONLY

TYPE_SS_SERVER_CURSOR_FORWARD_ONLY

TYPE_SS_SCROLL_DYNAMIC

Valor devuelto

true if the row update can be detected. Otherwise, false.

Excepciones

SQLServerException

Notas

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

Vea también

Referencia

SQLServerDatabaseMetaData Class

Conceptos

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members