Share via


IResultSet.UpdateNClob Method

Definition

Overloads

UpdateNClob(Int32, Reader)

Updates the designated column using the given Reader

        The data will be read from the stream
        as needed until end-of-stream is reached.
UpdateNClob(Int32, INClob)

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

UpdateNClob(String, Reader)

Updates the designated column using the given Reader object.

UpdateNClob(String, INClob)

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

UpdateNClob(Int32, Reader, Int64)

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

UpdateNClob(String, Reader, Int64)

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

UpdateNClob(Int32, Reader)

Updates the designated column using the given Reader

        The data will be read from the stream
        as needed until end-of-stream is reached.
[Android.Runtime.Register("updateNClob", "(ILjava/io/Reader;)V", "GetUpdateNClob_ILjava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateNClob (int columnIndex, Java.IO.Reader? reader);
[<Android.Runtime.Register("updateNClob", "(ILjava/io/Reader;)V", "GetUpdateNClob_ILjava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateNClob : int * Java.IO.Reader -> unit

Parameters

columnIndex
Int32

the first column is 1, the second 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

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 updateNClob which takes a length parameter.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateNClob(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

UpdateNClob(Int32, INClob)

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

[Android.Runtime.Register("updateNClob", "(ILjava/sql/NClob;)V", "GetUpdateNClob_ILjava_sql_NClob_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateNClob (int columnIndex, Java.Sql.INClob? nClob);
[<Android.Runtime.Register("updateNClob", "(ILjava/sql/NClob;)V", "GetUpdateNClob_ILjava_sql_NClob_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateNClob : int * Java.Sql.INClob -> unit

Parameters

columnIndex
Int32

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

nClob
INClob

the value for the column to be updated

Attributes

Exceptions

Remarks

Updates the designated column with a java.sql.NClob 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.6.

Java documentation for java.sql.ResultSet.updateNClob(int, java.sql.NClob).

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

UpdateNClob(String, Reader)

Updates the designated column using the given Reader object.

[Android.Runtime.Register("updateNClob", "(Ljava/lang/String;Ljava/io/Reader;)V", "GetUpdateNClob_Ljava_lang_String_Ljava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateNClob (string? columnLabel, Java.IO.Reader? reader);
[<Android.Runtime.Register("updateNClob", "(Ljava/lang/String;Ljava/io/Reader;)V", "GetUpdateNClob_Ljava_lang_String_Ljava_io_Reader_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateNClob : 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 updateNClob which takes a length parameter.

Added in 1.6.

Java documentation for java.sql.ResultSet.updateNClob(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

UpdateNClob(String, INClob)

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

[Android.Runtime.Register("updateNClob", "(Ljava/lang/String;Ljava/sql/NClob;)V", "GetUpdateNClob_Ljava_lang_String_Ljava_sql_NClob_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateNClob (string? columnLabel, Java.Sql.INClob? nClob);
[<Android.Runtime.Register("updateNClob", "(Ljava/lang/String;Ljava/sql/NClob;)V", "GetUpdateNClob_Ljava_lang_String_Ljava_sql_NClob_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateNClob : string * Java.Sql.INClob -> 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

nClob
INClob

the value for the column to be updated

Attributes

Exceptions

Remarks

Updates the designated column with a java.sql.NClob 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.6.

Java documentation for java.sql.ResultSet.updateNClob(java.lang.String, java.sql.NClob).

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

UpdateNClob(Int32, Reader, Int64)

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

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

Parameters

columnIndex
Int32

the first column is 1, the second 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.updateNClob(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

UpdateNClob(String, Reader, Int64)

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

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