Re: java.lang.OutOfMemoryError with WODisplayGroup
Re: java.lang.OutOfMemoryError with WODisplayGroup
- Subject: Re: java.lang.OutOfMemoryError with WODisplayGroup
- From: Art Isbell <email@hidden>
- Date: Thu, 9 Oct 2003 10:40:46 -1000
On Thursday, October 9, 2003, at 10:28 AM, Denis Stanton wrote:
I'm not familiar with TOP in SQL but I rather assumed there was a way
to set the maximum number of rows to be returned.
That's a different issue than batching. EOFetchSpecification supports
setting a fetch limit, so you can limit the number of objects fetched,
but you can't then go back and fetch the next "batch" of objects.
Down in the bowels of EOF (EOAdaptorChannel), a fetch is implemented
by a select (selectAttributes()) followed by a loop in which each
selected row is fetched (fetchRow()) until all selected rows have been
fetched. When a fetch limit has been set, the loop iteration limit is
set to the fetch limit and the fetch is then cancelled (cancelFetch()).
Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.