Interface GetAuthorizationCodeRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<GetAuthorizationCode,UUID>, org.springframework.data.jpa.repository.JpaRepository<GetAuthorizationCode,UUID>, org.springframework.data.repository.PagingAndSortingRepository<GetAuthorizationCode,UUID>, org.springframework.data.repository.query.QueryByExampleExecutor<GetAuthorizationCode>, org.springframework.data.repository.Repository<GetAuthorizationCode,UUID>

public interface GetAuthorizationCodeRepository extends org.springframework.data.jpa.repository.JpaRepository<GetAuthorizationCode,UUID>
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     

    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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush

    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

    • deleteByStartedAtBefore

      @Transactional @Query("DELETE FROM GetAuthorizationCode d WHERE d.startedAt < :startedAt") int deleteByStartedAtBefore(@Param("startedAt") Timestamp startedAt)