Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
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