Package africa.absa.inception.error
Interface ErrorReportRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ErrorReport,,UUID> org.springframework.data.jpa.repository.JpaRepository<ErrorReport,,UUID> org.springframework.data.repository.PagingAndSortingRepository<ErrorReport,,UUID> org.springframework.data.repository.query.QueryByExampleExecutor<ErrorReport>,org.springframework.data.repository.Repository<ErrorReport,UUID>
public interface ErrorReportRepository
extends org.springframework.data.jpa.repository.JpaRepository<ErrorReport,UUID>
The ErrorRepository interface declares the repository for the ErrorReport domain
type.
- Author:
- Marcus Portmann
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findOne
-
Method Details
-
deleteById
@Modifying @Query("delete from ErrorReport er where er.id = :errorReportId") void deleteById(@Param("errorReportId") UUID errorReportId) Delete the error report.- Specified by:
deleteByIdin interfaceorg.springframework.data.repository.CrudRepository<ErrorReport,UUID> - Parameters:
errorReportId- the ID for the error report
-