• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
EOSharedEditingContext question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: EOSharedEditingContext question
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: EODataSource confusion :-(
  • Next by Date: Re: Raw Rows versus EOs
  • Previous by thread: Re: java.lang.ClassCastException
  • Next by thread: Re: EOSharedEditingContext question
  • Index(es):
    • Date
    • Thread