IResultSet.CursorName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the name of the SQL cursor of this ResultSet.
public string? CursorName { [Android.Runtime.Register("getCursorName", "()Ljava/lang/String;", "GetGetCursorNameHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getCursorName", "()Ljava/lang/String;", "GetGetCursorNameHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.CursorName : string
Property Value
the SQL name for this ResultSet object's cursor
- Attributes
Exceptions
if a database error happens.
Remarks
Retrieves the name of the SQL cursor used by this ResultSet object. In SQL, a result table is retrieved through a cursor that is named. The current row of a result set can be updated or deleted using a positioned update/delete statement that references the cursor name. To insure that the cursor has the proper isolation level to support update, the cursor's SELECT statement should be of the form SELECT FOR UPDATE. If FOR UPDATE is omitted, the positioned updates may fail. The JDBC API supports this SQL feature by providing the name of the SQL cursor used by a ResultSet object. The current row of a ResultSet object is also the current row of this SQL cursor.
Java reference for java.sql.ResultSet.getCursorName.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.