Interface DigestMailQueueDAO

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

@Repository public interface DigestMailQueueDAO extends org.springframework.data.jpa.repository.JpaRepository<MailQueueEntity,Long>
The mail queue the platform sends from (EMAIL_QUEUE), reached through Spring Data so that a digest email is queued in the very transaction that claims its occurrence. The legacy QueueMessage.put writes the same table through the kernel EntityManager, in a transaction of its own: two commits, and a crash between them would lose the occurrence.
  • Method Summary

    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