ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <larry.mead...@gmail.com>
Subject Re: returning an array List
Date Fri, 20 Feb 2009 19:26:25 GMT
Look in the users guide. Please. :)

On Fri, Feb 20, 2009 at 12:11 PM, Rashid Jilani
<jilani@lifebiosystems.com> wrote:
> 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