cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5806) FIQL: Problem with mapping on ManyToMany or OnToMany associations of 2nd level
Date Thu, 19 Jun 2014 11:26:24 GMT

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

Sergey Beryozkin commented on CXF-5806:
---------------------------------------

Not sure it is a practically useful query though. Just curious, in your own application, what
kind of query you do (replace the terms if you prefer), I just would like to understand why
would users do such queries

Thanks, Sergey

> FIQL: Problem with mapping on ManyToMany or OnToMany associations of 2nd level
> ------------------------------------------------------------------------------
>
>                 Key: CXF-5806
>                 URL: https://issues.apache.org/jira/browse/CXF-5806
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.6.13, 3.0.0
>            Reporter: Romain Castan
>              Labels: patch
>         Attachments: patch.txt
>
>
> The simplest is used an example to illustrate the problem
> {code:title=Example}
> class ClassA {
>     ClassB b;
>     List<ClassD> listD;
> };
> class ClassB {
>     List<ClassC> listC;
> };
> class ClassC {
>     String name;
> };
> class ClassD {
>     String name;
> }
> {code}
> The following request works:
> {code:title=Fiql request OK (1er level)}
> properties: 
> nameD=listD.name
> Request:
> ?_s=nameD==xxxx
> {code}
> The following request doesn't work:
> {code:title=Fiql request KO (2nd level)}
> properties: 
> nameC=b.listC.name
> Request:
> ?_s=nameC==xxxx
> {code}



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

Mime
View raw message