io.mosip.pmp.regdevice.repository.RegFoundationalTrustProviderRepository Maven / Gradle / Ivy
package io.mosip.pmp.regdevice.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import io.mosip.pmp.regdevice.entity.RegFoundationalTrustProvider;
@Repository
public interface RegFoundationalTrustProviderRepository extends JpaRepository {
@Query(value="select * from foundational_trust_provider where id=?1 and is_active=true and (is_deleted is null or is_deleted = false)",nativeQuery = true)
RegFoundationalTrustProvider findByIdAndIsActiveTrue(String id);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy