findById 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> findByAgeIn(Collection<Integer> ages);
Example 3: findbyname in jpa
List<User> findByNameIsNot(String name);
Example 4: findbyname in jpa
List<User> findByNameContaining(String infix);
Example 5: findbyname in jpa
List<User> findTop3ByAge()