
io.mosip.authentication.common.service.repository.IdentityCacheRepository Maven / Gradle / Ivy
package io.mosip.authentication.common.service.repository;
import java.util.List;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import io.mosip.authentication.common.service.entity.IdentityEntity;
import io.mosip.kernel.core.dataaccess.spi.repository.BaseRepository;
/**
* Repository class for Identity Cache table
*
* @author Loganathan Sekar
*
*/
@Repository
public interface IdentityCacheRepository extends BaseRepository {
@Query("SELECT i.id, i.demographicData, i.expiryTimestamp, i.transactionLimit, i.token, i.crBy, i.crDTimes, "
+ "i.updBy, i.updDTimes, i.isDeleted, i.delDTimes FROM IdentityEntity i where i.id = :id")
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy