ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rashid Jilani" <jil...@lifebiosystems.com>
Subject RE: returning an array List
Date Fri, 20 Feb 2009 19:11:08 GMT
Thanks Larry it helped but I have a quick question.

Why I can't do this 

<select id="getTradeList"  resultClass="java.util.List">

sqlMap.queryForObject("getTradeList");

-----Original Message-----
From: Larry Meadors [mailto:larry.meadors@gmail.com] 
Sent: Friday, February 20, 2009 12:39 PM
To: user-java@ibatis.apache.org
Subject: Re: returning an array List

Try this:

<select id="getTradeList"  resultClass="string">

return sqlMap.queryForList("getTradeList");

Larry



Mime
View raw message