Interface ProjectFieldJpaRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ProjectField,
,ProjectFieldId> org.springframework.data.jpa.repository.JpaRepository<ProjectField,
,ProjectFieldId> org.springframework.data.repository.ListCrudRepository<ProjectField,
,ProjectFieldId> org.springframework.data.repository.ListPagingAndSortingRepository<ProjectField,
,ProjectFieldId> org.springframework.data.repository.PagingAndSortingRepository<ProjectField,
,ProjectFieldId> org.springframework.data.repository.query.QueryByExampleExecutor<ProjectField>
,org.springframework.data.repository.Repository<ProjectField,
ProjectFieldId>
public interface ProjectFieldJpaRepository
extends org.springframework.data.jpa.repository.JpaRepository<ProjectField,ProjectFieldId>
ProjectFieldJpaRepository는 ProjectField엔티티에 대한 데이터 액세스 기능을 제공.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByProject
(Project project) void
deleteByProjectAndFieldId
(Project project, Integer id) findByProject
(Project project) findByProjectAndFieldId
(Project project, 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
-
deleteByProject
@Modifying @Query("DELETE FROM ProjectField pf WHERE pf.project = :project") void deleteByProject(@Param("project") Project project) -
findByProject
-
findByProjectAndFieldId
-
deleteByProjectAndFieldId
-