ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Yee <r...@cruzio.com>
Subject Re: Can I use Set instead of List?
Date Mon, 06 Apr 2009 06:41:22 GMT
No, but you can create a set from the list though. If you need to  
remove duplicates, why don't you change the query to be unique?

-Richard

Sent from my iPhone

On Apr 5, 2009, at 9: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