setNCharacterStream(String parameterName, Reader value, long length)
Syntax:
void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException
Description:
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
value
the parameter value
length
the number of characters in the parameter data.
Throws:
SQLException - if a database access error occurs, parameterName is not a valid parameter name, length is less than 0, or the prepared statement has been closed
Reference:
For more information, reference JDBC documentation for: CallableStatement.setNCharacterStream(String, Reader, long)