Re: Duplicate Database accesses...
Re: Duplicate Database accesses...
- Subject: Re: Duplicate Database accesses...
- From: "Les Vogel" <email@hidden>
- Date: Sun, 25 Nov 2007 18:22:03 -1000
Yep that was it. -- Thanks.
I changed the newEditingContext() it was only false when I sent the email as I was grasping at straws on the crash. I had both "Cache in Memory" and "Share objects fetched" set. When I cleared them, things went better. I suspect ERXEC doesn't like those.
On 11/25/07, Mike Schrag <email@hidden> wrote:
> eContext = ERXEC.newEditingContext(false);
> customers = Customer.fetchAllCustomers(eContext);
Is there anything suspicious with the definition of your Customer
entity? Does it have anything about fetching as shared, or cache-in-
memory, etc? The newEditingContext(false) is a little weird, too (vs
the empty method), though I don't think it would cause this. I would
assume this is something odd with your model.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
--
Les Vogel
808 870-0418
_______________________________________________
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