Interface DeviceRegistrationRepository

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

public interface DeviceRegistrationRepository extends org.springframework.data.jpa.repository.JpaRepository<DeviceRegistration,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<DeviceRegistration>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    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.jpa.repository.JpaSpecificationExecutor

    count, delete, exists, findAll, findAll, findAll, findBy, findOne

    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
  • Field Details

  • Method Details

    • findDeviceRegistrationByClientId

      @Query("select dr from DeviceRegistration dr where dr.client.id =:clientId ") DeviceRegistration findDeviceRegistrationByClientId(@Param("clientId") Long clientId)