Spring Data JPAでselect IN-clause クエリーの使い方
@Query(value = "SELECT * FROM User WHERE id IN (:ids)", nativeQuery = true) Set<User> findByIdInSet(@Param("ids") Set<Long> ids);
Spring Data JPAでselect IN-clause クエリーの使い方
@Query(value = "SELECT * FROM User WHERE id IN (:ids)", nativeQuery = true) Set<User> findByIdInSet(@Param("ids") Set<Long> ids);