• 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: work almost good on a leopard server with WO5.4, but fails as war on tomcat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat


  • Subject: Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
  • From: David Avendasora <email@hidden>
  • Date: Wed, 6 Aug 2008 10:21:24 -0400


On Aug 6, 2008, at 10:06 AM, Lachlan Deck wrote:

On 06/08/2008, at 9:42 PM, David Avendasora wrote:

On Aug 6, 2008, at 7:21 AM, Philippe Roud wrote:

Following Chuck advice I found the cause of the NPE:

extraQualifierList = (NSArray<EOGenericRecord>) EOSharedEditingContext .defaultSharedEditingContext ().objectsByEntityNameAndFetchSpecificationName ().valueForKeyPath(extraQualifierFetchSpecName());

Hold on. EOSharedEditingContext ?! Are you _really_ sure you want to use that? I think you are likely asking for trouble, whether or not it is at the root of this problem, it is a very difficult piece to use correctly, let alone effectively.

Have you used it or is this just mirroring other's fear mungering? It's really quite fine to use.

I admit it. It's mostly just my echoing of warnings by others. I did start to use it once, way back when I first started learning WO, then discovered that my interpretation of "Shared" was different from EOF's interpretation of "Shared". Then I discovered that for any EOs that it would work for and I wanted to put in there, fetching them from the DB per session really didn't cost me that much in the first place. But then I only have about 5 users for my app.




with regards,
--

Lachlan Deck






_______________________________________________ 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: 
 >work almost good on a leopard server with WO5.4, but fails as war on tomcat (From: Philippe Roud <email@hidden>)
 >Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat (From: Philippe Roud <email@hidden>)
 >Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat (From: David Avendasora <email@hidden>)
 >Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Relationships across frameworks
  • Next by Date: Re: Build Error
  • Previous by thread: Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
  • Next by thread: Relationships across frameworks
  • Index(es):
    • Date
    • Thread