setCharacterStream Method (int, java.io.Reader)

Download JDBC driver

Sets the designated parameter to the specified java.io.Reader object.

Note

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

Syntax

  
public final void setCharacterStream(int parameterIndex,  
                              java.io.Reader reader)  

Parameters

parameterIndex

An int that indicates the parameter number.

reader

The java.io.Reader object that contains the Unicode data.

Exceptions

SQLServerException

Remarks

This setCharacterStream method is specified by the setCharacterStream method in the java.sql.PreparedStatement interface.

See Also

setCharacterStream Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members