You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Mario Chavez <ma...@gmail.com> on 2005/11/17 01:26:25 UTC
Custom Collection
Hello;
I'm wondering if it's possible to use iBatis in a way that it can populate
custom collections instead of IList
Thanks.
--
Mario Chavez
mario.chavez@gmail.com
http://mario-chavez.decisionesinteligentes.com/
Re: Custom Collection
Posted by Ron Grabowski <ro...@yahoo.com>.
<select
id="GetManyByCategory"
extends="GetMany"
parameterClass="int"
listClass="ProductCollection">
WHERE CategoryId = #value#
</select>
ProductCollection productCollection =
(ProductCollection)sqlMapper.QueryForList(
"Product.GetManyByCategory", 3);
--- Mario Chavez <ma...@gmail.com> wrote:
> Hello;
>
> I'm wondering if it's possible to use iBatis in a way that it can
> populate
> custom collections instead of IList
>
> Thanks.
>
> --
> Mario Chavez
> mario.chavez@gmail.com
> http://mario-chavez.decisionesinteligentes.com/
>