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: Karl Gretton <email@hidden>
- Date: Thu, 5 Apr 2007 14:37:24 -0400
Does the Wonder autolocking mechanism work sufficiently that you do
not need to lock?
Karl
On Apr 5, 2007, at 12:43 PM, Chuck Hill wrote:
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:
40protocolis.com
This email sent to email@hidden
_______________________________________________
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