Sets the designated parameter to the given Java array of bytes. The driver converts
this to an SQL VARBINARY
or LONGVARBINARY
(depending on the argument's size relative to the driver's limits on
VARBINARY
values) when it sends it to the database.
parameterIndex | the first parameter is 1, the second is 2, ... | |
x | the parameter value |
SQLException | if parameterIndex does not correspond to a parameter
marker in the SQL statement; if a database access error occurs or
this method is called on a closed PreparedStatement |
Diagram: Statement