All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.pmp.authdevice.repository.FoundationalTrustProviderRepository Maven / Gradle / Ivy

package io.mosip.pmp.authdevice.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Component;

import io.mosip.pmp.authdevice.entity.FoundationalTrustProvider;
@Component
public interface FoundationalTrustProviderRepository 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)
	FoundationalTrustProvider findByIdAndIsActiveTrue(String id);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy