ownUpdatesAreVisible Method (SQLServerDatabaseMetaData)

Download JDBC driver

Retrieves whether the result set's own updates are visible.

Syntax

  
public boolean othersUpdatesAreVisible(int type)  

Parameters

type

An integer 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

Return Value

true if the updates are visible. Otherwise, false.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class