openjpa-dev mailing list archives

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

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

Rick Curtis commented on OPENJPA-2282:
--------------------------------------

Gary -

Please take a look at the migration guide[1] for 2.3.0 as it looks like that behavior changed.

[1] http://ci.apache.org/projects/openjpa/trunk/docbook/manual.html#jpa_2.3_RequiresSearchStringEscapeForLike

> 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