• 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: EOModels occasionally loading too slowly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOModels occasionally loading too slowly?


  • Subject: Re: EOModels occasionally loading too slowly?
  • From: Paul Hoadley <email@hidden>
  • Date: Wed, 4 Nov 2009 12:10:36 +1030

On 04/11/2009, at 11:55 AM, Mike Schrag wrote:

committed ... see if this solves your problem.

It doesn't seem to.  This is what I'm doing in LSApplication.didFinishLaunching():

if (ERXModelGroup.defaultGroup().modelNamed(AUTH_MODEL_NAME) != null) {
// Read in values for country selector component
readCountrySelectorValues();
LOG.info("LSApplication.didFinishLaunching: Loaded country names");
// Read in values for state selector component
readStateSelectorValues();
LOG.info("LSApplication.didFinishLaunching: Loaded state names");
}

That is, I look for the presence of a particular model, and fetch some EOs from the DB if it's included in this app.  If I comment this out, I can't replicate the problem.  If I leave it in, it fails in an apparently non-deterministic manner.  Am I doing this poorly or in the wrong place (or both)?


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


 _______________________________________________
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: 
 >EOModels occasionally loading too slowly? (From: Paul Hoadley <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Gennady Kushnir <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Paul Hoadley <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Chuck Hill <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Paul Hoadley <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Mike Schrag <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Paul Hoadley <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Chuck Hill <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Paul Hoadley <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Paul Hoadley <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Mike Schrag <email@hidden>)
 >Re: EOModels occasionally loading too slowly? (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: EOModels occasionally loading too slowly?
  • Next by Date: Re: The requested application was not found on this server.
  • Previous by thread: Re: EOModels occasionally loading too slowly?
  • Next by thread: Re: EOModels occasionally loading too slowly?
  • Index(es):
    • Date
    • Thread