How can I, using the JPA criteria API do the following:
select count(distinct column1, column2) from table
Doing this on one column/path is
Seems like there is no way to do this with JPA2