CrudRepository 接口使用详解

  • save(entity)
  • save(entities)
  • findOne(id)
  • findAll()
  • exists(id)
  • delete(entity)
  • delete(id)
  • delete(entities)
  • deleteAll()

PagingAndSortingRepository 接口使用详解

  • findAll(Sort sort)
  • finaAll(Pageable pageable)

JpaRepository 接口使用详解

JpaSpecificationExecutor 接口使用详解