Is it possible with Springs auto implemented repositories to limit the result size of the findAll method?
I\'m trying to have something like the following declared in th
You need to explicitly specify the ordering, otherwise Spring Data JPA has no way of deciding what criteria it should use. For instance:
List findAllTopTenByAge();
See more details in the official documentation.