daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest May 24th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ●インターフェースに側
  2. @Repository
  3. public interface MyDataRepository extends JpaRepository<MyData, Long> {
  4.  
  5.  public List<MyData> findByName(String name);
  6.  public List<MyData> findByMail(String mail);
  7.  public List<MyData> findByAge(int age);
  8.  public List<MyData> findByNameLikeOrMailLike(String name, String mail);
  9.  public List<MyData> findByAgeGreaterThanOrAgeLessThan(Integer age0, Integer age1);
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top