EOSharedEditingContext question
EOSharedEditingContext question
- Subject: EOSharedEditingContext question
- From: Dov Rosenberg <email@hidden>
- Date: Wed, 02 Feb 2005 18:42:23 -0500
Title: EOSharedEditingContext question
We recently fixed a bug in our application that was causing it to lock when multiple users submitted a form request via http. After scratching our heads for a long while we went to look in the “Bible” (Chuck Hill’s Practical WebObjects – great book). We came across a little blurb about not locking SharedEditingContexts. When we removed the lock it seems to have cleared up our deadlock problem. But we are stumped as to why this caused us a headache.
Our app uses both a sharededitingcontext and regular editing contexts created doing new EOEditingContext(). We lock and unlock both the shared and regular editing contexts everywhere. It seems that our problem only manifested itself when we were writing to the database (not reading). It was also not consistently reproducible.
Any thoughts or comments would be appreciated.
Thanks in advance
--
Dov Rosenberg
Conviveon Corporation
http://www.conviveon.com
_______________________________________________
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