• 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
Cached EO Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cached EO Objects


  • Subject: Cached EO Objects
  • From: Lotsa Cabo <email@hidden>
  • Date: Sun, 25 Jul 2004 20:31:41 -0400

SCENARIO:
One WOComponent/page called "PostDetails"... One object in the EO model
called "Message"... One table in the database called "MESSAGE".  The
page has a display group calling a fetch specification where a value is
passed in an a single object (a "message") is returned.

QUESTION(S):
In this scenario, will the database be hit again?  If so, I assume EO
will evaluate the rows returned (a single row) and determine if the
object is already within the editing context.  Unfortunately, the trip
will already be made to the database.  Is this correct?  Actually, I
assume that any time a fetch specification is used, the database will
be hit again, no?

I guess the more I read about cached EO objects, the more confused I
become.  I cannot think of a scenario where the database would not be
hit if using a generic object set.  For example, if I want all
"Messages" where the email address is from "1@2.3" I would assume that
the database will always be hit, even if I have objects cached in the
editing context.  I mean, if not, then how will it be possible to know
if there are any new objects in the database?

Aaaw, heck.  Anyone?

Thanx,
Ryan

_________________________
Tired of spam?  Signup for a FREE SpamJammer.Com account and say
goodbye to junk email forever!
_______________________________________________
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.


  • Follow-Ups:
    • Re: Cached EO Objects
      • From: James Cicenia <email@hidden>
    • Re: Cached EO Objects
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: Display Groups
  • Next by Date: Re: Cached EO Objects
  • Previous by thread: Re: multiple wocheckbox in form
  • Next by thread: Re: Cached EO Objects
  • Index(es):
    • Date
    • Thread