How to do
@Query("SELECT DISTINCT area FROM Curso ORDER BY area")
public List<String> findDistinctArea();
With Spring-data JPA query creation? (Without the @Query annotation)
I'm trying just List<String> findDistinctArea();
but it just throw No property findDistinctArea found for type Curso!
Thanks for any help !