I have a Spring JPA rest repository.
public interface SumLogRepository extends PagingAndSortingRepository<SumLog, Long> {
//custom query method
List<SumLog> findByFoo(String lastName);
//How do I make this method return the results in REVERSE order?
List<SumLog> findAll();
}
I would like the findAll() method to return items in a reverse order.
Since its an interface, I can't override methods directly here.
Is this possible to do?