Re: EOModels occasionally loading too slowly?
Re: EOModels occasionally loading too slowly?
- Subject: Re: EOModels occasionally loading too slowly?
- From: Paul Hoadley <email@hidden>
- Date: Thu, 5 Nov 2009 12:05:12 +1030
On 04/11/2009, at 10:47 PM, Mike Schrag wrote:
try putting your code in finishInitialization() -- that's roughly
where migrations run.
On 05/11/2009, at 3:51 AM, Chuck Hill wrote:
Does adding this make any difference?
public void finishInitialization() {
NSBundle.frameworkBundles();
}
I moved the EOF-touching code from didFinishLaunching() to
finishInitialization(), and yes it does work. (It also appeared to
work when I moved it to LSApplication's constructor (the class between
Application and ERXApplication). I assume finishInitialization() is a
better place for it, though?)
Thanks to both of you for sorting this out.
--
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