[infinispan-issues] [JBoss JIRA] (ISPN-5682) Aggregating fields of embedded entities doesn't work
RH Bugzilla Integration (JIRA)
issues at jboss.org
Wed Dec 16 10:23:00 EST 2015
[ https://issues.jboss.org/browse/ISPN-5682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141954#comment-13141954 ]
RH Bugzilla Integration commented on ISPN-5682:
-----------------------------------------------
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
> Aggregating fields of embedded entities doesn't work
> ----------------------------------------------------
>
> Key: ISPN-5682
> URL: https://issues.jboss.org/browse/ISPN-5682
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 8.0.0.Beta3
> Reporter: Jakub Markos
> Assignee: Adrian Nistor
> Fix For: 8.1.0.Final, 8.0.3.Final
>
>
> This query
> {code}
> public void testGroupBy7() {
> QueryFactory qf = getQueryFactory();
> Query q = qf.from(getModelFactory().getUserImplClass())
> .select(Expression.min("addresses.street"))
> .having("name").eq("Spider").toBuilder()
> .build();
> List<Object[]> list = q.list();
> assertEquals(list.get(0)[0], "Bond Street");
> }
> {code}
> returns in the context of QueryDslConditionsTest test class (https://github.com/infinispan/infinispan/blob/7634c0996cb3a174d2a379f20961ddd35e376a15/query/src/test/java/org/infinispan/query/dsl/embedded/QueryDslConditionsTest.java) the street "Old Street", while "Bond Street" is expected.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list