• 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: Fetch Spec Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fetch Spec Question


  • Subject: Re: Fetch Spec Question
  • From: Alan Ward <email@hidden>
  • Date: Thu, 22 Jan 2004 10:11:16 -0800

no. Until the fetchSpec has been executed EOF doesn't know which objects
are going to be returned so it can't decide based on the contents of the EditingContext
whether it needs to hit the database or not. Consequently it DOES go to the database.


Alan

On Thursday, January 22, 2004, at 06:21  AM, Dana Kashubeck wrote:

Jonathan Rochkind wrote:

An EOFetchSpecification, passed to someEditingContext.objectsWithFetchSpecification() will _always_ go to the database. There will always be a round trip to the db triggered.

Won't the fetch specification still get the objects out of memory unless you set refreshesRefetchedObjects to YES? My understanding is that this is the only way to force it to fetch from the database.


--
-------------------------------------
Dana Kashubeck
Systems Manager
Riemer Reporting Service Inc.
http://www.riemer.com

Phone: 440-835-2477 x. 125
Fax: 440-835-4594
-------------------------------------
_______________________________________________
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.
_______________________________________________
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: Fetch Spec Question (From: Dana Kashubeck <email@hidden>)

  • Prev by Date: Re: Strange EOF exception
  • Next by Date: Re: Possible EOJavaClass.template properties
  • Previous by thread: Re: Fetch Spec Question
  • Next by thread: Re: Fetch Spec Question
  • Index(es):
    • Date
    • Thread