• 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: Losing my mind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Losing my mind


  • Subject: Re: Losing my mind
  • From: Jonathan Rochkind <email@hidden>
  • Date: Thu, 18 Mar 2004 15:23:39 -0600

editingcontext.objectsWithFetchSpecification( spec ) will always make a trip to the db and execute SQL. Always. [Well, that _might_ not be true when dealing with shared editing contexts or read-only entities, actually. I don't use either of those things; it's possible they change this].

The SQL executed which determine _which_ EOs are in the returned list. Now, the actual _values_ of those EOs----the values returned by the SQL may be ignored, if acceptable snapshots for the EOs already exist. But the trip to the database happens anyway, and determines _which_ objects are returend. Always, so far as I know (someone tell us if shared ECs or read-only entities can change this assumption).

--Jonathan

At 9:53 AM +1300 3/19/04, Ray Ackland wrote:
Kent,

Art will be able to confirm this, but it may be possible that the fetch isn't going to the database if the objects have already been fetched in a previous operation.

Just a thought.

r.

On 19/03/2004, at 1:45, Kent Harris wrote:

Ray, I tried different methods and no joy. Art, I added the EOAdaptorDebugEnabled and discovered that specific fetch is not even going to the database. I would presume EOF would complain if it was a malformed qualifier? I'm stumped.
_______________________________________________
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: Losing my mind (From: Kent Harris <email@hidden>)
 >Re: Losing my mind (From: Ray Ackland <email@hidden>)

  • Prev by Date: Re: Override synchronizesVariablesWithBindings() or isStateless()?
  • Next by Date: Re: 5.2.3 Boolean Bugs?????
  • Previous by thread: Re: Losing my mind
  • Next by thread: Re: Losing my mind
  • Index(es):
    • Date
    • Thread