Interface PartnerPolicyCredentialTypeRepository

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      PartnerPolicyCredentialType findByPartnerIdAndCrdentialType​(String partnerId, String credentialType)  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
      • Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

        deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

        findAll
      • Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

        count, exists, findAll, findOne
    • Method Detail

      • findByPartnerIdAndCrdentialType

        @Query(value="select * from partner_policy_credential_type pc where pc.part_id =?1 and pc.credential_type =?2 ",
               nativeQuery=true)
        PartnerPolicyCredentialType findByPartnerIdAndCrdentialType​(String partnerId,
                                                                    String credentialType)