Interface ProblemFieldJpaRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<ProblemField,ProblemFieldId>, org.springframework.data.jpa.repository.JpaRepository<ProblemField,ProblemFieldId>, org.springframework.data.repository.ListCrudRepository<ProblemField,ProblemFieldId>, org.springframework.data.repository.ListPagingAndSortingRepository<ProblemField,ProblemFieldId>, org.springframework.data.repository.PagingAndSortingRepository<ProblemField,ProblemFieldId>, org.springframework.data.repository.query.QueryByExampleExecutor<ProblemField>, org.springframework.data.repository.Repository<ProblemField,ProblemFieldId>

public interface ProblemFieldJpaRepository extends org.springframework.data.jpa.repository.JpaRepository<ProblemField,ProblemFieldId>
ProblemFieldJpaRepository는 ProblemField엔티티에 대한 데이터 액세스 기능을 제공.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
     
     

    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

    • deleteByProblem

      @Modifying @Query("DELETE FROM ProblemField pf WHERE pf.problem = :problem") void deleteByProblem(@Param("problem") Problem problem)
    • findByProblem

      List<ProblemField> findByProblem(Problem problem)
    • findByProblemAndFieldId

      Optional<ProblemField> findByProblemAndFieldId(Problem problem, Integer fieldId)
    • deleteByProblemAndFieldId

      void deleteByProblemAndFieldId(Problem problem, Integer id)