• 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: Duplicate Database accesses...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Duplicate Database accesses... (From: "Les Vogel" <email@hidden>)
 >Re: Duplicate Database accesses... (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Classes starting with underscore missing from WO Package Explorer pane
  • Next by Date: Re: Classes starting with underscore missing from WO Package Explorer pane
  • Previous by thread: Re: Duplicate Database accesses...
  • Next by thread: Classes starting with underscore missing from WO Package Explorer pane
  • Index(es):
    • Date
    • Thread