• 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: Illegal Lock usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Illegal Lock usage


  • Subject: Re: Illegal Lock usage
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 6 Feb 2008 11:53:25 -0500

You can either use the ERXEOControlUtilities methods to convert single EO's back and forth, or you can use the datastructure-aware ones

convertEOtoGID
convertGIDtoEO

which lets you pass any arbitrary object and it will deeply convert to GID's and back (individual EO's, NSArray, NSSet, NSDIctionaries, recursively, etc).

On Feb 6, 2008, at 11:39 AM, Guido Neitzer wrote:

On 06.02.2008, at 06:41, Frank Stock wrote:

yes, this is what I am doing: inserting objects in Frontbase from FileMaker. I want to see in the browser how many objects are already created.

The problem is, that you should not transfer EOs over thread boundaries. Use global ids. It makes your live easier.


cug

--
Real-World WebObjects class at the Big Nerd Ranch
March 2008, Frankfurt, Germany
http://www.bignerdranch.com/classes/webobjects.shtml



_______________________________________________
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


_______________________________________________
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: 
 >Illegal Lock usage (From: Frank Stock <email@hidden>)
 >Re: Illegal Lock usage (From: Chuck Hill <email@hidden>)
 >Re: Illegal Lock usage (From: Frank Stock <email@hidden>)
 >Re: Illegal Lock usage (From: Mike Schrag <email@hidden>)
 >Re: Illegal Lock usage (From: Frank Stock <email@hidden>)
 >Re: Illegal Lock usage (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: Illegal Lock usage
  • Next by Date: Re: NSPropertyListSerialization documentation error ?
  • Previous by thread: Re: Illegal Lock usage
  • Next by thread: Re: Illegal Lock usage
  • Index(es):
    • Date
    • Thread