ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Warren <war...@clarksnutrition.com>
Subject Question on using queryForObject(statementName, parameterObject, resultObject);
Date Sat, 28 Jul 2007 22:17:06 GMT
I have an item object that has a tax object that has a description field 
I need to set. I want to use the item object as the parameter and the 
same object as the result.

sqlMap.queryForObject("getTax", item, item);

<select id="getItemTax" parameterClass="item">
   SELECT TAX_Name AS tax.description FROM ...
</select>

It is the tax.description that is getting me in trouble. How do I write 
this or escape this? Or am I doing this completely wrong?

-- 
Thanks,

Warren Bell

Mime
View raw message