refreshing the defaultEditingContext
refreshing the defaultEditingContext
- Subject: refreshing the defaultEditingContext
- From: Dev WO <email@hidden>
- Date: Mon, 15 May 2006 20:57:43 +0200
Hi guys,
I've been trying to optimize my application a little as I had some
RSS feed which was actually creating a session and finally as RSS
readers update themselves every x minutes, I just couldn't softly
restart the instance.
So I moved the RSS component using the defaultSharedEditingContext,
making sure no session was created. So this part was ok so far.
But trying it I saw that the data from the
defaultSharedEditingContext didn't update...
I can afford some delay for the update like minutes, but it's been 5
hours now:(
How should I make the sharedEC to update itself? The data are being
edited/added using another WOApplication, so maybe the other
application could "call" the sharedEC to make it refresh...
Or do:
setRefreshesRefetchedObjects(true);
on the fetch specification should work?
Thanks a lot for any tip:)
Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden