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

io.mosip.pmp.partner.repository.PartnerPolicyRepository Maven / Gradle / Ivy

package io.mosip.pmp.partner.repository;

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

import io.mosip.pmp.partner.entity.PartnerPolicy;

/**
 * @author sanjeev.shrivastava
 *
 */
@Repository
public interface PartnerPolicyRepository extends JpaRepository {
	
	//@Query(value = "select * from partner_policy ppr where ppr.part_id=?", nativeQuery = true )
	//public List findByPartnerId(String part_id);
	
	@Query(value = "select * from partner_policy ppr where ppr.part_id=?", nativeQuery = true )
	public PartnerPolicy findByPartnerId(String part_id);
 
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy