setNClob(int parameterIndex, Clob x)

Syntax:

void setNClob(int parameterIndex,
              NClob value)
              throws SQLException

Description:

Sets the designated parameter to a java.sql.NClob object. The driver converts this to an SQL NCLOB value when it sends it to the database.

Parameters:

parameterIndex

of the first parameter is 1, the second is 2, ...

value

the parameter value

Throws:

SQLException - if a database access error occurs, parameterIndex is less than 1 or greater than the number of parameters, or the prepared statement has been closed

Reference:

For more information, reference JDBC documentation for: PreparedStatement.setNClob(int, NClob)