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: Can I use Set instead of List?
Date Mon, 06 Apr 2009 13:05:10 GMT
return new LinkedHashSet(queryForList(...));

Larry


On Sun, Apr 5, 2009 at 10:53 PM, fer knjige <ferknjige@gmail.com> wrote:
> Hi,
>
> I have a simple query:
>
> select * from Products.
>
> I want to have results in Set not in List. How can I do it since
> method 'queryForList' returns only List?
>
> Thanks in advance!
>
>
>

Mime
View raw message