The unsaved objects(s) are still in your EOEditingContext and thus
any future attempts to save
will try to save them again (along with any subsequent changes). The
approach that you describe
below is not the best one. What you want to do is to catch the
exception from ec.saveChanges()
Hi all,
I just recently ran into an issue where my application tried to save
a new object to the database, the save failed, and every subsequent
save failed with the same error. It seems that WebObjects maintains
a queue of updates/saves to write to the database, and when one
fails, it
On Dec 7, 2007, at 7:48 AM, Greg Lappen wrote:
Hi all,
I just recently ran into an issue where my application tried to
save a new object to the database, the save failed, and every
subsequent save failed with the same error. It seems that
WebObjects maintains a queue of updates/saves
On 7 Dec 2007, at 16:03, Alan Ward wrote:
The unsaved objects(s) are still in your EOEditingContext and thus
any future attempts to save
will try to save them again (along with any subsequent changes).
The approach that you describe
below is not the best one. What you want to do is to
Pierre,
I think this is one of the clearest explanations of the
EOEditingContext I've seen. That used to trip me up a lot when first
learning WO. I used the session's defaulting editing context for all
kinds of stuff. I just thought that was the right way by reading the
documentation on
It is important to see the EOEditingContext as a sandbox. It's the EC
that contains your unsaved changes. It's not the EOF stack that is
clogged with pending updates. Other clients of the EOF stack will not
even see your local changes until they are committed.
When saving fails over a
On Dec 7, 2007, at 11:20 AM, Mike Schrag wrote:
Why stop there? Why not just shell out a 'sudo reboot now' and be
_really_ sure.
I think someone stole Chuck's lunch money this morning ...
And woke me up early to do it!
--
Practical WebObjects - for developers who want to increase
Why stop there? Why not just shell out a 'sudo reboot now' and be
_really_ sure.
I think someone stole Chuck's lunch money this morning ...
ms
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list