cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Castan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5713) FIQL: the % character is not taken into account in FIQL expression
Date Sun, 27 Apr 2014 20:58:15 GMT

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

Romain Castan commented on CXF-5713:
------------------------------------

Yes, I had the same bug when I wrote my unit test for my professional project.
I read that It's a bug with HSQLDB, see http://sourceforge.net/p/hsqldb/discussion/73674/thread/e4b826b7/
(read the comment of Fred Toussi) and http://sourceforge.net/p/hsqldb/bugs/1309/
I tested the patch with Oracle, the patch seems to work.
I hope that HSQLDB will create a new release.

> 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)

Mime
View raw message