Interface RequestExecutionRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<RequestExecution,,UUID> org.springframework.data.jpa.repository.JpaRepository<RequestExecution,,UUID> org.springframework.data.repository.PagingAndSortingRepository<RequestExecution,,UUID> org.springframework.data.repository.query.QueryByExampleExecutor<RequestExecution>,org.springframework.data.repository.Repository<RequestExecution,UUID>
public interface RequestExecutionRepository
extends org.springframework.data.jpa.repository.JpaRepository<RequestExecution,UUID>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintdeleteByExecutedWhenBefore(Timestamp executedWhen) findByProjectId(UUID projectId) findBySseId(UUID sseId) 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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Field Details
-
GET_EXECUTORS_IN_HISTORY_BY_PROJECT_ID
- See Also:
-
-
Method Details
-
deleteByExecutedWhenBefore
@Modifying @Transactional @Query("DELETE FROM RequestExecution re WHERE re.executedWhen < :executedWhen") int deleteByExecutedWhenBefore(@Param("executedWhen") Timestamp executedWhen) -
findByProjectId
-
findBySseId
-