| title | supportsResultSetConcurrency Method (SQLServerDatabaseMetaData) |
|---|---|
| description | supportsResultSetConcurrency Method (SQLServerDatabaseMetaData) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerDatabaseMetaData.supportsResultSetConcurrency |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
Retrieves whether this database supports the given concurrency type in combination with the given result set type.
public boolean supportsResultSetConcurrency(int type,
int concurrency)
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:
TYPE_FORWARD_ONLY
TYPE_SCROLL_SENSITIVE
TYPE_SCROLL_INSENSITIVE
TYPE_SS_SCROLL_STATIC
TYPE_SS_SCROLL_KEYSET
TYPE_SS_DIRECT_FORWARD_ONLY
TYPE_SS_SERVER_CURSOR_FORWARD_ONLY
TYPE_SS_SCROLL_DYNAMIC
concurrency
An int that indicates the result set concurrency level, which can be one of the following values as defined in java.sql.ResultSet or SQLServerResultSet:
CONCUR_READ_ONLY
CONCUR_UPDATABLE
CONCUR_SS_OPTIMISTIC_CC
CONCUR_SS_SCROLL_LOCKS
CONCUR_SS_OPTIMISTIC_VAL
true if supported. Otherwise, false.
This supportsResultSetConcurrency method is specified by the supportsResultSetConcurrency method in the java.sql.DatabaseMetaData interface.
SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class