Interface DepartmentJpaRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Department,
,Integer> org.springframework.data.jpa.repository.JpaRepository<Department,
,Integer> org.springframework.data.repository.ListCrudRepository<Department,
,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<Department,
,Integer> org.springframework.data.repository.PagingAndSortingRepository<Department,
,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Department>
,org.springframework.data.repository.Repository<Department,
Integer>
public interface DepartmentJpaRepository
extends org.springframework.data.jpa.repository.JpaRepository<Department,Integer>
DepartmentJpaRepository는 Department 엔티티에 대한 데이터 액세스 기능을 제공.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
existsByNameAndState
(String name, BaseEntity.State state) findAllByCollegeAndState
(College college, BaseEntity.State state) findAllByState
(BaseEntity.State state) findByIdAndState
(Integer id, BaseEntity.State state) findByName
(String name) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAllByState
-
findByIdAndState
-
existsByNameAndState
-
findByName
-
findAllByCollegeAndState
-