• 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
Thanks: Pb updating a to-many relationship with refaultAllObjects()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Thanks: Pb updating a to-many relationship with refaultAllObjects()


  • Subject: Thanks: Pb updating a to-many relationship with refaultAllObjects()
  • From: Jean Pierre Malrieu <email@hidden>
  • Date: Mon, 17 Nov 2003 22:14:34 +0100

Thanks Robert.

I knew that WO documentation had improved since WO 5.1, but I did not realise it had improved that much!
I have read it now...


Jean Pierre.

Jean,

If I'm not mistaken, I don't believe ec.refaultAllObjects() causes the
row snapshots to be refreshed.    This would simply refault all the
objects in ec.  Then when the faults are fired, you will fetch the same
cached data from the snapshots, unless the snapshot time stamps are
older than the editing context's time stamp. There are several methods
for achieving what you want.  They are discussed in the section
"Ensuring Fresh Data" under "Fetching Data" in the "Enterprise Objects"
document on the WebObjects Documentation site.  Be sure to also follow
the "Refreshing Cached Data" link in that section.
_______________________________________________
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.

  • Prev by Date: Re: Pb updating a to-many relationship with refaultAllObjects()
  • Next by Date: refetch(), refreshAllObjects(), refaultAllObjects().
  • Previous by thread: Re: Database or Realtime
  • Next by thread: refetch(), refreshAllObjects(), refaultAllObjects().
  • Index(es):
    • Date
    • Thread