@Query("select m from Member m where m.username = :username and m.age = :age") List<Member> findUser(@Param("username") String username, @Param("age")int age);
컬렉션 파리미터 바인딩
Collection 타입으로 in 절 지원
@Query("select m from Member m where m.username in :names") List<Member> findByNames(@Param("names") List<String> names);