Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.77 KB

owninsertsarevisible-method-sqlserverdatabasemetadata.md

File metadata and controls

63 lines (43 loc) · 1.77 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
ownInsertsAreVisible Method (SQLServerDatabaseMetaData)
ownInsertsAreVisible Method (SQLServerDatabaseMetaData)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerDatabaseMetaData.ownInsertsAreVisible
Assembly

ownInsertsAreVisible Method (SQLServerDatabaseMetaData)

[!INCLUDEDriver_JDBC_Download]

Retrieves whether a result set's own inserts are visible.

Syntax

  
public boolean ownInsertsAreVisible(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 ownInsertsAreVisible method is specified by the ownInsertsAreVisible method in the java.sql.DatabaseMetaData interface.

See Also

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class