Clears the current parameter values immediately.
In general, parameter values remain in force for repeated use of a
statement. Setting a parameter value automatically clears its
previous value. However, in some cases it is useful to immediately
release the resources used by the current parameter values; this can
be done by calling the method clearParameters
.
SQLException | if a database access error occurs or
this method is called on a closed PreparedStatement |
Diagram: Statement