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 TypeMethodDescriptionvoiddeleteByProblem(Problem problem) voiddeleteByProblemAndFieldId(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, 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
-
deleteByProblem
@Modifying @Query("DELETE FROM ProblemField pf WHERE pf.problem = :problem") void deleteByProblem(@Param("problem") Problem problem) -
findByProblem
-
findByProblemAndFieldId
-
deleteByProblemAndFieldId
-