T - I - @NoRepositoryBean
public interface BaseDao<T,I extends Serializable>
extends org.springframework.data.jpa.repository.JpaRepository<T,I>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.domain.Page<?> |
findAll(org.springframework.data.jpa.domain.Specification<T> specs,
org.springframework.data.domain.Pageable pageable,
List<String> fields) |
List<?> |
findAllIgnoreCount(org.springframework.data.jpa.domain.Specification<T> specs,
org.springframework.data.domain.Pageable pageable,
List<String> fields) |
T |
getOne(I id) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, saveAll, saveAndFlushfindAllcount, delete, deleteAll, deleteAll, deleteById, existsById, findById, save@Query(value="select t from #{#entityName} t where t.id = ?1")
T getOne(I id)
getOne in interface org.springframework.data.jpa.repository.JpaRepository<T,I extends Serializable>org.springframework.data.domain.Page<?> findAll(org.springframework.data.jpa.domain.Specification<T> specs, org.springframework.data.domain.Pageable pageable, List<String> fields)
Copyright © 2023. All rights reserved.