ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Maves <Nathan.Ma...@Sun.COM>
Subject Re: get Vector as queryForList option
Date Wed, 11 Jan 2006 15:39:18 GMT
One question... Why do you want a Vector.class  object?  I have not  
had any reason in the 5 years to even use one.

Nathan

On Jan 11, 2006, at 8:08 AM, Ashish Kulkarni wrote:

> Hi
> I have defined a query as
> <select id="selectLinesFromView"
> resultClass="java.lang.String">
> SELECT L083LINE FROM PL1083 WHERE L083CODE = #value#
> ORDER BY L083SQNO
> </select>
>
> and in my java code i do
> List list = client.queryForList("selectLinesFromView",
> "ABC");
>
> Suppose if i want a Vector as output, i just cannot
> parse it as it gives me classcastexception,
> so what is a best way of getting Vector as output, or
> do i have to iterate through list and uild my own
> vector
>
>
> Ashish
>
>
>
> A$HI$H
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com


Mime
View raw message