Thanks: Pb updating a to-many relationship with refaultAllObjects()
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.