接口 BatchRepository<T,ID extends Serializable>

所有超级接口:
org.springframework.data.repository.CrudRepository<T,ID>, org.springframework.data.jpa.repository.JpaRepository<T,ID>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>, org.springframework.data.repository.ListCrudRepository<T,ID>, org.springframework.data.repository.ListPagingAndSortingRepository<T,ID>, org.springframework.data.repository.PagingAndSortingRepository<T,ID>, org.springframework.data.repository.query.QueryByExampleExecutor<T>, org.springframework.data.repository.Repository<T,ID>, YueRepository<T,ID>
所有已知实现类:
BatchRepositoryImpl

@NoRepositoryBean public interface BatchRepository<T,ID extends Serializable> extends YueRepository<T,ID>
  • 方法概要

    修饰符和类型
    方法
    说明
    void
     
    boolean
     
    boolean
     
     
    void
    saveAll(List<T> ts)
     

    从接口继承的方法 org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAllById, deleteById, existsById, findById, save

    从接口继承的方法 org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    从接口继承的方法 org.springframework.data.jpa.repository.JpaSpecificationExecutor

    count, delete, exists, findAll, findAll, findAll, findBy, findOne

    从接口继承的方法 org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    从接口继承的方法 org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    从接口继承的方法 org.springframework.data.repository.PagingAndSortingRepository

    findAll

    从接口继承的方法 org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne

    从接口继承的方法 cn.xisoil.dao.utils.YueRepository

    deleteAllByIdIn, findTopByIdNotNull
  • 方法详细资料

    • saveAll

      @Transactional void saveAll(List<T> ts)
    • deleteAll

      @Transactional void deleteAll()
      指定者:
      deleteAll 在接口中 org.springframework.data.repository.CrudRepository<T,ID extends Serializable>
    • deleteAllByIds

      @Transactional boolean deleteAllByIds(List<ID> ids)
    • deleteAll

      @Transactional boolean deleteAll(List<T> ts)
    • findAllByIds

      List<T> findAllByIds(List<ID> ids)