How does DISTINCT work when using JPA and Hibernate

You are close.

select DISTINCT(c.name) from Customer c

Leave a Comment