query using jpa repository example
Example 1: findbyname in jpa
List<User> findByAgeIn(Collection<Integer> ages);
Example 2: findbyname in jpa
List<User> findByAgeBetween(Integer startAge, Integer endAge);
List<User> findByAgeIn(Collection<Integer> ages);
List<User> findByAgeBetween(Integer startAge, Integer endAge);