IResultSet.UpdateClob Method

Definition

Overloads

UpdateClob(Int32, Reader, Int64)

Updates the designated column using the given Reader object, which is the given number of characters long.

UpdateClob(String, Reader, Int64)

Updates the designated column using the given Reader object, which is the given number of characters long.

UpdateClob(String, IClob)

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

UpdateClob(String, Reader)

Updates the designated column using the given Reader object.

UpdateClob(Int32, IClob)

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

UpdateClob(Int32, Reader)

Updates the designated column using the given Reader object.

UpdateClob(Int32, Reader, Int64)

Updates the designated column using the given Reader object, which is the given number of characters long.

[Android.Runtime.Register("updateClob", "(ILjava/io/Reader;J)V", "GetUpdateClob_ILjava_io_Reader_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateClob (int columnIndex, Java.IO.Reader? reader, long length);
[<Android.Runtime.Register("updateClob", "(ILjava/io/Reader;J)V", "GetUpdateClob_ILjava_io_Reader_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateClob : int * Java.IO.Reader * int64 -> unit

Parameters

columnIndex
Int32

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

reader
Reader

An object that contains the data to set the parameter value to.

length
Int64

the number of characters in the parameter data.

Attributes

Exceptions

Remarks

Updates the designated column using the given Reader object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

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.6.

Java documentation for java.sql.ResultSet.updateClob(int, java.io.Reader, long).

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

UpdateClob(String, Reader, Int64)

Updates the designated column using the given Reader object, which is the given number of characters long.

[Android.Runtime.Register("updateClob", "(Ljava/lang/String;Ljava/io/Reader;J)V", "GetUpdateClob_Ljava_lang_String_Ljava_io_Reader_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateClob (string? columnLabel, Java.IO.Reader? reader, long length);
[<Android.Runtime.Register("updateClob", "(Ljava/lang/String;Ljava/io/Reader;J)V", "GetUpdateClob_Ljava_lang_String_Ljava_io_Reader_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateClob : string * Java.IO.Reader * int64 -> 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

reader
Reader

An object that contains the data to set the parameter value to.

length
Int64

the number of characters in the parameter data.

Attributes

Exceptions

Remarks

Updates the designated column using the given Reader object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

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.6.

Java documentation for java.sql.ResultSet.updateClob(java.lang.String, java.io.Reader, long).

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

UpdateClob(String, IClob)

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

[Android.Runtime.Register("updateClob", "(Ljava/lang/String;Ljava/sql/Clob;)V", "GetUpdateClob_Ljava_lang_String_Ljava_sql_Clob_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateClob (string? columnLabel, Java.Sql.IClob? x);
[<Android.Runtime.Register("updateClob", "(Ljava/lang/String;Ljava/sql/Clob;)V", "GetUpdateClob_Ljava_lang_String_Ljava_sql_Clob_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateClob : string * Java.Sql.IClob -> 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
IClob

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a java.sql.Clob 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.updateClob(java.lang.String, java.sql.Clob).

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

UpdateClob(String, Reader)

Updates the designated column using the given Reader object.

[Android.Runtime.Register("updateClob", "(Ljava/lang/String;Ljava/io/Reader;)V", "GetUpdateClob_Ljava_lang_String_Ljava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateClob (string? columnLabel, Java.IO.Reader? reader);
[<Android.Runtime.Register("updateClob", "(Ljava/lang/String;Ljava/io/Reader;)V", "GetUpdateClob_Ljava_lang_String_Ljava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateClob : string * Java.IO.Reader -> 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

reader
Reader

An object that contains the data to set the parameter value to.

Attributes

Exceptions

Remarks

Updates the designated column using the given Reader object. The data will be read from the stream as needed until end-of-stream is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

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.

<B>Note:</B> Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateClob which takes a length parameter.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateClob(java.lang.String, java.io.Reader).

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

UpdateClob(Int32, IClob)

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

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

Parameters

columnIndex
Int32

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

x
IClob

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a java.sql.Clob 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.updateClob(int, java.sql.Clob).

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

UpdateClob(Int32, Reader)

Updates the designated column using the given Reader object.

[Android.Runtime.Register("updateClob", "(ILjava/io/Reader;)V", "GetUpdateClob_ILjava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateClob (int columnIndex, Java.IO.Reader? reader);
[<Android.Runtime.Register("updateClob", "(ILjava/io/Reader;)V", "GetUpdateClob_ILjava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateClob : int * Java.IO.Reader -> unit

Parameters

columnIndex
Int32

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

reader
Reader

An object that contains the data to set the parameter value to.

Attributes

Exceptions

Remarks

Updates the designated column using the given Reader object. The data will be read from the stream as needed until end-of-stream is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

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.

<B>Note:</B> Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateClob which takes a length parameter.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateClob(int, java.io.Reader).

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