IResultSet.UpdateRef Method

Definition

Overloads

UpdateRef(Int32, IRef)

Updates the designated column with a java.sql.Ref value.

UpdateRef(String, IRef)

Updates the designated column with a java.sql.Ref value.

UpdateRef(Int32, IRef)

Updates the designated column with a java.sql.Ref value.

[Android.Runtime.Register("updateRef", "(ILjava/sql/Ref;)V", "GetUpdateRef_ILjava_sql_Ref_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateRef (int columnIndex, Java.Sql.IRef? x);
[<Android.Runtime.Register("updateRef", "(ILjava/sql/Ref;)V", "GetUpdateRef_ILjava_sql_Ref_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateRef : int * Java.Sql.IRef -> unit

Parameters

columnIndex
Int32

the first column is 1, the second is 2, ...

x
IRef

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a java.sql.Ref value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Added in 1.4.

Java documentation for java.sql.ResultSet.updateRef(int, java.sql.Ref).

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.

Applies to

UpdateRef(String, IRef)

Updates the designated column with a java.sql.Ref value.

[Android.Runtime.Register("updateRef", "(Ljava/lang/String;Ljava/sql/Ref;)V", "GetUpdateRef_Ljava_lang_String_Ljava_sql_Ref_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateRef (string? columnLabel, Java.Sql.IRef? x);
[<Android.Runtime.Register("updateRef", "(Ljava/lang/String;Ljava/sql/Ref;)V", "GetUpdateRef_Ljava_lang_String_Ljava_sql_Ref_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateRef : string * Java.Sql.IRef -> unit

Parameters

columnLabel
String

the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column

x
IRef

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a java.sql.Ref value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Added in 1.4.

Java documentation for java.sql.ResultSet.updateRef(java.lang.String, java.sql.Ref).

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.

Applies to