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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kgretton% 40protocolis.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to