Interface ApplicationJpaRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Application,,Integer> org.springframework.data.jpa.repository.JpaRepository<Application,,Integer> org.springframework.data.repository.ListCrudRepository<Application,,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<Application,,Integer> org.springframework.data.repository.PagingAndSortingRepository<Application,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Application>,org.springframework.data.repository.Repository<Application,Integer>
public interface ApplicationJpaRepository
extends org.springframework.data.jpa.repository.JpaRepository<Application,Integer>
ApplicationJpaRepository는 Application 엔티티에 대한 데이터 액세스 기능을 제공.
-
Method Summary
Modifier and TypeMethodDescriptionfindByTutorIdNotAndApplicationGroupStatusIn(Integer tutorId, List<Status> statuses) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByTutorIdNotAndApplicationGroupStatusIn
@Query("SELECT a FROM Application a WHERE a.tutor.id != :tutorId AND a.applicationGroup.status IN :statuses") List<Application> findByTutorIdNotAndApplicationGroupStatusIn(@Param("tutorId") Integer tutorId, @Param("statuses") List<Status> statuses)
-