public abstract void setNCharacterStream (String parameterName, Reader value, long length) throws SQLException

Sets the designated parameter to a Reader object. The Reader reads the data till end-of-file is reached. The driver does the necessary conversion from Java character format to the national character set in the database.

Parameters:
parameterName    the name of the parameter to be set
value    the parameter value
length    the number of characters in the parameter data.

Exceptions:
SQLException    if parameterName does not correspond to a named parameter; if the driver does not support national character sets; if the driver can detect that a data conversion error could occur; if a database access error occurs or this method is called on a closed CallableStatement
SQLFeatureNotSupportedException    if the JDBC driver does not support this method

Since:  1.6