#Getting Error while returning querry

4 messages · Page 1 of 1 (latest)

potent onyx
#
arcustService.getCustomerIdByCountryAndOfsCustomerId(country, ofsCustomerId);

------service----

public String getCustomerIdByCountryAndOfsCustomerId(String country, String ofsCustomerId);

-----servceImpl---

 @Override
  public String getCustomerIdByCountryAndOfsCustomerId(String country, String ofsCustomerId) {
    return arcustRepository.findCustomerIdByCountryAndOfsCustomerId(country, ofsCustomerId);
  }

----Repository---

@Query("SELECT a.customerId FROM Arcust a WHERE a.country = :country AND a.ofsCustomerId = :ofsCustomerId")
  public abstract String findCustomerIdByCountryAndOfsCustomerId(
      @QueryParam("country") String country, @QueryParam("ofsCustomerId") String ofsCustomerId);

------Error Picture attached---

jagged windBOT
#

This post has been reserved for your question.

Hey @potent onyx! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

jagged windBOT