Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 2.1 KB

File metadata and controls

68 lines (48 loc) · 2.1 KB
title updatesAreDetected Method (SQLServerDatabaseMetaData) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerDatabaseMetaData.updatesAreDetected
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid cb541175-d3a5-4bca-b327-64e2270c0df1
author David-Engel
ms.author v-daenge

updatesAreDetected Method (SQLServerDatabaseMetaData)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public boolean updatesAreDetected(int type)  

Parameters

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

Return Value

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

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class