Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.51 KB

File metadata and controls

49 lines (37 loc) · 1.51 KB
title rowInserted Method (SQLServerResultSet) | 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
SQLServerResultSet.rowInserted
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid e7c10372-0be8-4baa-87f7-ed6b66003357
author David-Engel
ms.author v-daenge

rowInserted Method (SQLServerResultSet)

[!INCLUDEDriver_JDBC_Download]

Retrieves whether the current row has had an insertion.

Syntax

  
public boolean rowInserted()  

Return Value

true if a row has had an insertion and insertions are detected. Otherwise, false.

Exceptions

SQLServerException

Remarks

This rowUpdated method is specified by the rowUpdated method in the java.sql.ResultSet interface.

The value that is returned depends on whether this SQLServerResultSet object can detect visible inserts.

Note

[!INCLUDEssNoVersion] does not detect inserted rows for any cursor type.

See Also

SQLServerResultSet Members
SQLServerResultSet Class