Skip to content

Latest commit

 

History

History
76 lines (56 loc) · 2.07 KB

File metadata and controls

76 lines (56 loc) · 2.07 KB
title othersInsertsAreVisible Method (SQLServerDatabaseMetaData) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerDatabaseMetaData.othersInsertsAreVisible
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid aa32f059-bb59-47f8-bac1-292f314df730
caps.latest.revision 10
author MightyPen
ms.author genemi
manager jhubbard
ms.workload Inactive

othersInsertsAreVisible Method (SQLServerDatabaseMetaData)

[!INCLUDEDriver_JDBC_Download]

Retrieves whether inserts that are made by others are visible.

Syntax

  
public boolean othersInsertsAreVisible(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 inserts are visible. Otherwise, false.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class