Interface LogEntryRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<LogEntry,Long>, org.springframework.data.jpa.repository.JpaRepository<LogEntry,Long>, org.springframework.data.repository.ListCrudRepository<LogEntry,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<LogEntry,Long>, org.springframework.data.repository.PagingAndSortingRepository<LogEntry,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<LogEntry>, org.springframework.data.repository.Repository<LogEntry,Long>

@Repository public interface LogEntryRepository extends org.springframework.data.jpa.repository.JpaRepository<LogEntry,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    findAllByModel(long modelId, org.springframework.data.domain.Pageable pageable)
     

    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

    • findAllByModel

      @Query("select l from LogEntry l where l.attachedModel.id = :modelId") List<LogEntry> findAllByModel(long modelId, org.springframework.data.domain.Pageable pageable)