Sets escape processing on or off. If escape scanning is on (the default), the driver will do escape substitution before sending the SQL statement to the database.
The Connection and DataSource property
escapeProcessing may be used to change the default escape processing
behavior. A value of true (the default) enables escape Processing for
all Statement objects. A value of false disables escape processing
for all Statement objects. The setEscapeProcessing
method may be used to specify the escape processing behavior for an
individual Statement object.
Note: Since prepared statements have usually been parsed prior
to making this call, disabling escape processing for
PreparedStatements objects will have no effect.
enable | true to enable escape processing;
false to disable it |
SQLException | if a database access error occurs or
this method is called on a closed Statement |
Diagram: Statement