io.mosip.pmp.partner.repository.PartnerServiceRepository 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.Partner;
/**
* Repository class for create partner id.
* @author sanjeev.shrivastava
*
*/
@Repository
public interface PartnerServiceRepository extends JpaRepository {
@Query(value = "select * from partner ppr where ppr.name=?", nativeQuery = true)
public Partner findByName(String name);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy