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 Type
    Method
    Description
     

    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

    • 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)