openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Shank (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2282) ESCAPE '\' is appended to the like clause unexpectedly
Date Thu, 05 Jun 2014 18:31:03 GMT

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

Gary Shank commented on OPENJPA-2282:
-------------------------------------

I was running with openjpa-all-2.2.2 and I was getting ESCAPE's when LIKE was used but now,
with v2.3.0, I don't see any ESCAPE's at all for any LIKE's.


> ESCAPE '\' is appended to the like clause unexpectedly
> ------------------------------------------------------
>
>                 Key: OPENJPA-2282
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2282
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 2.3.0
>            Reporter: Helen Xu
>            Assignee: Helen Xu
>             Fix For: 2.3.0
>
>         Attachments: OPENJPA-2282.patch, OPENJPA-2282Doc.patch
>
>
> When I run the unit test on TestEJBQLCondExpression.testLikeExpr, I noticed that ESCAPE
'\' is appended to the like clause unexpectedly. This could cause the wrong query result.
 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message