Share via


Statement.setEscapeProcessing

Interface Overview | Interface Members | This Package | All Packages

Syntax

public abstract void setEscapeProcessing( boolean enable ) throws SQLException

Parameters
  • enable
    true to enable; false to disable
Description

If escape scanning is on (the default), the driver will do escape substitution before sending the SQL to the database. Note: Since prepared statements have usually been parsed prior to making this call, disabling escape processing for prepared statements will like have no affect.

Exceptions

SQLException if a database-access error occurs.