Interface CategoryJpaRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Category,
,Integer> org.springframework.data.jpa.repository.JpaRepository<Category,
,Integer> org.springframework.data.repository.ListCrudRepository<Category,
,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<Category,
,Integer> org.springframework.data.repository.PagingAndSortingRepository<Category,
,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Category>
,org.springframework.data.repository.Repository<Category,
Integer>
public interface CategoryJpaRepository
extends org.springframework.data.jpa.repository.JpaRepository<Category,Integer>
CategoryJpaRepository는 Category 엔티티에 대한 데이터 액세스 기능을 제공.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
existsByNameAndState
(String name, BaseEntity.State state) findAllByState
(BaseEntity.State state) findAllByState
(BaseEntity.State state, org.springframework.data.domain.Sort sort) findByIdAndState
(Integer semesterIdx, BaseEntity.State state) findByNameAndState
(String name, BaseEntity.State state) 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
-
existsByNameAndState
-
findByIdAndState
-
findAllByState
-
findAllByState
-
findByNameAndState
-