You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Romain Castan (JIRA)" <ji...@apache.org> on 2014/04/26 23:08:14 UTC

[jira] [Updated] (CXF-5713) FIQL: the % character is not taken into account in FIQL expression

     [ https://issues.apache.org/jira/browse/CXF-5713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Castan updated CXF-5713:
-------------------------------

    Attachment: patch.txt

I propose this patch to fix the problem

> FIQL: the % character is not taken into account in FIQL expression
> ------------------------------------------------------------------
>
>                 Key: CXF-5713
>                 URL: https://issues.apache.org/jira/browse/CXF-5713
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.11
>            Reporter: Romain Castan
>              Labels: patch
>         Attachments: patch.txt
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> When there is the character '%' in the expression FIQL the JPA query is not valid.
> Currently, for this following expression FIQL:
> _s=name==apache%software*
> the generated SQL query is:
> ... where name like 'apache%software%'
> while the generated SQL query should be:
> ... where name like 'apache\%sofware%' escape '\' 



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