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 TypeMethodDescriptionvoid
deleteByProblem
(Problem problem) void
deleteByProblemAndFieldId
(Problem problem, Integer id) findByProblem
(Problem problem) findByProblemAndFieldId
(Problem problem, Integer fieldId) 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
-
findByProblemAndFieldId
-
deleteByProblemAndFieldId
-