currently distinct only works on last level of query
Bug #691930 reported by
KBachl
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Medium
|
Timo Westkämper |
Bug Description
currently if one has a JPQL query = new JPAQuery(
query.countDist
query.iterateDi
query.listDisti
wich is quite a problem if you pass around the query and reuse it for e.g.: multiple calls; For example I first need to do a countDistinct to the DB to afterwards do a range based list pull - it would be easy if we had a
query.distinct() method (maybe even .distinct(
Changed in querydsl: | |
importance: | Undecided → Medium |
assignee: | nobody → Timo Westkämper (timo-westkamper) |
To post a comment you must log in.
Sorry, I didn't have time to implement this for the 2.0.7 release, but it will be in the next one.