ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maciej Radochonski <mradochon...@gmail.com>
Subject Re: return simple String[] or List<String>
Date Wed, 24 Mar 2010 14:34:24 GMT
Hi Tomas,

You can use "queryForList". It will return a List<?> of objects specified in
resultMap/resultClass.

-- 
Regards,
Maciej Radochonski
mradochonski@gmail.com
----------------------------------------------------------------
http://www.mradochonski.com
http://www.linkedin.com/in/mradochonski
----------------------------------------------------------------
Any fool can write code that a computer can understand. Good programmers
write code that humans can understand


2010/3/24 Tomáš Procházka <t.prochazka@centrum.cz>

>
> It's possible return simple String[] or List<String> with ibatis maping?
>
> In documentation is only 'int' 'hashmap' and collection of own class.
> Itried resultType="java.util.String[]" or resultMap="java.util.String" and
> it doesn't work
>
> --
> Tomas Prochazka
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
> For additional commands, e-mail: user-java-help@ibatis.apache.org
>
>

Mime
View raw message