ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Landry Soules <landry.p.sou...@gmail.com>
Subject resultMap in another file
Date Fri, 03 Nov 2006 18:38:59 GMT

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" 
  select * from country where id = #value#

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

View raw message