• 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
Re: Confusing locking error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Confusing locking error


  • Subject: Re: Confusing locking error
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 8 Oct 2008 12:33:59 -0400

Haven't looked what's really going on in the traces, but the "normal" mistake on these pages is that you access something (accessing also means localInstanceOf - you need to do that differently, e.g. with passing in global ids) that doesn't belong to your thread.
You can use ERXEOControlUtilities.convertEOtoGID(Object) and convertGIDtoEO(Object) to objects into and out of a long response (or any background thread) ... These are actually kind of handy methods -- you can give them deeply nested collections and they will recursively convert objects to-from EO/GID all the way down.

ms

_______________________________________________
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


References: 
 >Confusing locking error (From: Simon McLean <email@hidden>)
 >Re: Confusing locking error (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: WOBiking
  • Next by Date: Can't get automatic inverse relationships to work
  • Previous by thread: Re: Confusing locking error
  • Next by thread: Can't get automatic inverse relationships to work
  • Index(es):
    • Date
    • Thread