Details
Description
Oracle application has a JPQL query that attempts to set a parameter to '\'. '\' is not a reserved character with Oracle and the query will work if you execute it "normally" with JDBC.
OpenJPA automatically adds ESCAPE ('\') to every search SQL query. As a result the \ is interpreted as an escape indicator and the SQL will not execute as expected.
Attachments
Attachments
Issue Links
- is related to
-
OPENJPA-976 Research the need for escape charaters for LIKE in various DB's
- Closed
- relates to
-
OPENJPA-2282 ESCAPE '\' is appended to the like clause unexpectedly
- Closed