I currently have a report with a group value-indexes and the details of those value-indexes. ex:
select r from Rent r
left join r.roomPaymentList payment
where payment.paymentDueDate < :date
or r.roomPaymentList is empty
a,b,c are value index of a group and the names are values from details. I'm trying to avoid repetition of details-value. So:
a
Harry
Potter
b
Harry
Potter
c
Ron
Wesley
How do I achieve this? EDIT: I reformatted the example to better understand what's going on