updateCharacterStream Method (int, java.io.Reader)

Updates the designated column with a character stream value.

Note

This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

public void updateCharacterStream(int columnIndex,
                                  java.io.Reader x)

Parameters

columnIndex

An int that indicates the column index.

x

A Reader object.

Exceptions

SQLServerException

Remarks

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

This method passes Unicode characters from a Reader object to selected text and binary columns. This includes all text columns and binary, varbinary, varbinary(max), image, and xml columns, but not udt columns.

Using this method for the image, text, and ntext SQL Server data types might impact performance.

See Also

Reference

SQLServerResultSet Class

Concepts

updateCharacterStream Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members