Hello,

I have an address sqlmap and a country sqlmap. Each defines a resultmap in its own file.
I would like to refer to country resultmap in address sqlmap :

<select id="getCountry" parameterClass="string" resultMap="country.abatorgenerated_CountryResult">
 select * from country where id = #value#
 </select>


It should be possible, according to documentation, but i get an error :

com.ibatis.sqlmap.client.SqlMapException: There is no result map named country.abatorgenerated_CountryResult in this SqlMap.
   at com.seenxl.persistence.DaoConfig.<clinit>(DaoConfig.java:40)
   ... 14 more

What am i doing wrong ?

Thanks for your help

Reply via email to