Use of the Word "ESCAPE" in an Escape Sequence Fails With Ora-933 (Doc ID 1090817.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms


Comments
--------
=== ODM Issue Clarification ===

When using the 11.2.0.1 JDBC driver, queries with syntax similar to the following ...

'select col1 from table1 where col1 LIKE ? { ESCAPE ? }'

... fails with the following error:

java.sql.SQLException: ORA-00933: SQL command not properly ended


The same query was successful in earlier versions of the driver.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms