• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: java.lang.OutOfMemoryError with WODisplayGroup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: java.lang.OutOfMemoryError with WODisplayGroup (From: Denis Stanton <email@hidden>)

  • Prev by Date: Re: java.lang.OutOfMemoryError with WODisplayGroup
  • Next by Date: Re: WebObjects and Panther
  • Previous by thread: Re: java.lang.OutOfMemoryError with WODisplayGroup
  • Next by thread: When is a newline not a newline?
  • Index(es):
    • Date
    • Thread