Spring data select top 100
java, spring-data
Solution
Add a postfix "By" but without criteria there would works.
List<Person> findTop100By();
Problem
How can I select the top 100 through Spring data CrudRepository? I want to do something like that by I get an error. ``` List<Person> findTop100(); ``` I do not want to use queries, hibernate or anything else. I just want to do it through spring data the easy and fast way