ojb-user@db.apache.org
[Top] [All Lists]

Re: Query problem for hundreds of thousands of records

Subject: Re: Query problem for hundreds of thousands of records
From: Michael Hart
Date: Wed, 13 Oct 2004 16:09:58 +1000
[ Muliawan Sjarif ] wrote:

However, the problem now is the iterator object can't be passed onto
servlet or struts' view to be processed there. The documentation
suggests that for that kind of purpose use Collection instead. How
then?

Unless I misunderstand what you're doing, then you shouldn't be passing ~352,000 objects to a view component anyway - are you really going to display all of those objects? Isn't there some sort of filtering process that you need to apply to them first to reduce them to a more "viewable" number? (ie, iterate through them and just choose the few that you need before passing them to the servlet/struts).

Cheers,

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@xxxxxxxxxxxxx
For additional commands, e-mail: ojb-user-help@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>