insertsAreDetected Method (SQLServerDatabaseMetaData)
Retrieves whether or not a visible row insert can be detected by calling the method rowInserted method of the SQLServerResultSet class.
public boolean insertsAreDetected(int type)
매개 변수
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
반환 값
true if the row insert can be detected. Otherwise, false.
예외
주의
This insertsAreDetected method is specified by the insertsAreDetected method in the java.sql.DatabaseMetaData interface.
참고
SQL Server does not detect inserted rows for any cursor type.
참고
참조
SQLServerDatabaseMetaData Class
개념
SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members