]
RH Bugzilla Integration commented on ISPN-5682:
-----------------------------------------------
Adrian Nistor <anistor(a)redhat.com> changed the Status of [bug
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
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/7634c0996cb3a174d2a379f2096...)
the street "Old Street", while "Bond Street" is expected.