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.
parameterIndex | of the first parameter is 1, the second is 2, ... | |
value | the parameter value | |
length | the number of characters in the parameter data. |
SQLException | if parameterIndex does not correspond to a parameter
marker in the SQL statement; 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 PreparedStatement | |
SQLFeatureNotSupportedException | if the JDBC driver does not support this method |
Diagram: Statement