Share via


setNCharacterStream Method (int, java.io.Reader)

Sets the designated parameter to the specified Reader object.

Hinweis

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

public final void setNCharacterStream(int parameterIndex,
                                                 java.io.Reader value)

Parameter

parameterIndex

An int that indicates the parameter index.

value

A Reader object that contains the parameter value.

Ausnahmen

SQLServerException

Hinweise

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

This method should be used for NCHAR, NVARCHAR, NTEXT, and XML data types.

Siehe auch

Konzepte

setNCharacterStream Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members