setEscapeProcessing(boolean enable)

Syntax:

void setEscapeProcessing(boolean enable)
                         throws SQLException

Description:

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. Note: Since prepared statements have usually been parsed prior to making this call, disabling escape processing for PreparedStatements objects will have no effect.

Parameters:

enable

true to enable escape processing; false to disable it

Throws:

SQLException - if a database access error occurs or the statement has been closed

Reference:

For more information, reference JDBC documentation for: Statement.setEscapeProcessing(boolean)