[infinispan-issues] [JBoss JIRA] (ISPN-6008) Query DSL groupBy and orderBy should only accept single-valued properties

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Dec 16 10:23:01 EST 2015


    [ https://issues.jboss.org/browse/ISPN-6008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141955#comment-13141955 ] 

RH Bugzilla Integration commented on ISPN-6008:
-----------------------------------------------

Sebastian Łaskawiec <slaskawi at redhat.com> changed the Status of [bug 1274769|https://bugzilla.redhat.com/show_bug.cgi?id=1274769] from MODIFIED to ON_QA

> Query DSL groupBy and orderBy should only accept single-valued properties
> -------------------------------------------------------------------------
>
>                 Key: ISPN-6008
>                 URL: https://issues.jboss.org/browse/ISPN-6008
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Embedded Querying, Remote Querying
>    Affects Versions: 8.1.0.CR1, 8.0.2.Final
>            Reporter: Adrian Nistor
>            Assignee: Adrian Nistor
>             Fix For: 8.1.0.Final, 8.0.3.Final
>
>
> {code}
>       QueryFactory qf = getQueryFactory();
>       Query q = qf.from(User.class)
>             .select(Expression.min("name"))
>             .groupBy("addresses.street")
>             .build();
>       q.list();
> {code}
> Should throw an exception during query parsing because property "addresses.street" is not single-valued.
> Similar behaviour should be expected for orderBy. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the infinispan-issues mailing list