persistence
persistence copied to clipboard
CriteriaBuilder countDistinct() should take multiple expressions
CriteriaBuilder
Expression<Long> countDistinct(Expression<?> x)
It should take multiple expressions.
Expression<Long> countDistinct(Expression<?> ... expressions)
Expression<Long> countDistinct(List<Expression<?>> expressions)
- Issue Imported From: https://github.com/javaee/jpa-spec/issues/157
- Original Issue Raised By:@javaone199
- Original Issue Assigned To: Unassigned
I think this issue is not adequate and needs further justification. Maybe this should just be closed to reduce clutter or marked as very low priority so the focus can be on higher impact work?
Reza Rahman Jakarta EE Ambassador, Author, Blogger, Speaker
Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.
The request seems very valid and useful to me. Many databases support count distinct of tuples. For those that don't, it's possible to implement query transformations.