[ 
https://issues.apache.org/jira/browse/OPENJPA-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681262#action_12681262
 ] 

Milosz Tylenda commented on OPENJPA-975:
----------------------------------------

B.J., thanks for the patch.

1. Wouldn't you mind updating also the documentation? We have a section in the 
manual which covers public dictionary properties.

2. It could be beneficial to research other databases in that matter. I have a 
feeling that many of them do not require the ESCAPE clause. A separate issue 
can be opened for that.


> Oracle needs ability to not have an escape character for search strings.
> ------------------------------------------------------------------------
>
>                 Key: OPENJPA-975
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-975
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: jdbc
>    Affects Versions: 1.2.0, 1.3.0, 2.0.0
>         Environment: Oracle
>            Reporter: B.J. Reed
>            Assignee: B.J. Reed
>            Priority: Minor
>             Fix For: 1.2.0, 1.3.0, 2.0.0
>
>         Attachments: OPENJPA-975.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to