jpa repository in clause code example
Example: java repository sql find not in list
@Query("FROM entity AS e WHERE e.id NOT IN ?1")
List<ObjectName> findByNotId(List<Long> ids);
@Query("FROM entity AS e WHERE e.id NOT IN ?1")
List<ObjectName> findByNotId(List<Long> ids);