why findbyId method used in jpa code example
Example 1: findbyname in jpa
List<User> findByAgeGreaterThan(Integer age);List<User> findByAgeGreaterThanEqual(Integer age);
Example 2: findbyname in jpa
List<User> findByAgeBetween(Integer startAge, Integer endAge);