Condividi tramite


setNCharacterStream Method (int, java.io.Reader)

Sets the designated parameter to the specified Reader object.

Nota

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)

Parametri

parameterIndex

An int that indicates the parameter index.

value

A Reader object that contains the parameter value.

Eccezioni

SQLServerException

Osservazioni

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.

Vedere anche

Concetti

setNCharacterStream Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members