refreshing the defaultEditingContext
Dev WO <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
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