I could do that but it then doesn't map onto my model. The data is time
series data and needs to be available as Array's or ArrayLists. To use a
DataValePair as you suggest will slow my code down markedly as I need to
load quite large amounts of data 


Ingmar Lötzsch wrote:
> 
>> I'm trying to populate a pojo with two array lists and my code doesn't do
>> what I intended
>> 
>> The pojo has two arrayLists as memebers one called 'dates' the other
>> 'values'
> 
> Why can't you create
> 
> class DateValuePair
> {
>       private Date date;
> 
>       private Double value;
> 
>       ... getter, setter
> }
> 
> and query for List<DateValuePair>?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Populating-a-Pojo-with-two-ArrayLists-tp25041366p25042175.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org

Reply via email to