Re: I don't get it.(was delete statement)
Re: I don't get it.(was delete statement)
- Subject: Re: I don't get it.(was delete statement)
- From: Chuck Hill <email@hidden>
- Date: Thu, 5 Apr 2007 09:43:01 -0700
On Apr 5, 2007, at 9:00 AM, Frank Stock wrote:
It's critical that you always lock the context (not just for
saving - for ANY operation) and that you make sure you're not
crossing objects in different editing contexts.
I did not lock in a fetching-data -routine. Now that I have locked
all the routines, it seems to work! I don't have updates anymore!
There is no situation in which locking is not required other than use
of session.defaultEditingContext(). None. Ever.
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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