failed to > convert from type [java.lang.object[]] to type > [com.rh.app.batch.domain.a] java


я пытался получить данные из таблицы b и спас его в классе объекта

 a sale = repository.getsale(m, stmtdate);
repository
public interface repository extends jparepository<b, string> {@query(value = " select id as id from b...left join c ... ", nativequery = true)    a getsale(@param("m") string m, @param("date") string stmtdate);}
class a
@entitypublic class a implements serializable { private string id;  public string getid() {        return id;    }    public void setid(string id) {        this.id = id;    }  }    .....
error

org.springframework.core.convert.conversionfailedexception: failed to convert from type [java.lang.object[]] to type [com.rh.app.batch.domain.a] for value '{0e89c64c-d840-45c5-9c6a-bda52fbaa7d1, 201802, 5.000, 1, 0, 0}'; nested exception is org.springframework.core.convert.converternotfoundexception: no converter found capable of converting from type [java.lang.string] to type [com.rh.app.batch.domain.a]