Re: ERXEntityClassDescription
Re: ERXEntityClassDescription
- Subject: Re: ERXEntityClassDescription
- From: David Teran <email@hidden>
- Date: Mon, 22 Aug 2005 16:22:56 +0200
Hi,
just one hint: it seems that EOSharedEditingContext is responsible
for EOF deadlocks if one uses concurrentrequesthandling. If you have
EOF deadlocks you should try to prevent EOSharedEditingContext at
all. Also others reported performance bottlenecks with
EOSharedEditingContext.
regards, David
On 22.08.2005, at 16:12, Daniel Eggert wrote:
Thank you! I solved it by putting a
ERXEntityClassDescription.registerDescription();
into the constructor of my application class.
I'm using XCode, but I don't think I can adjust the Framework
loading from inside XCode. What is that frameworks dialog you're
refering to?
I'm using WO 5.3 with Wonder 2.0 and WOUnitTest. The app init code is:
public class Application extends ERXApplication {
EOSharedEditingContext sharedEditingContext;
public static void main(String argv[]) {
ERXApplication.main(argv, Application.class);
}
public Application() {
super();
ERXEntityClassDescription.registerDescription();
EOFValidation.installValidation();
fetchReadOnlyEOsIntoSharedEditingContext();
}
public void fetchReadOnlyEOsIntoSharedEditingContext(){
String entityName = Category.entityName;
sharedEditingContext =
EOSharedEditingContext.defaultSharedEditingContext();
EOFetchSpecification categoriesFetchSpec =
EOFetchSpecification.fetchSpecificationNamed( "FetchCategories",
entityName );
if (categoriesFetchSpec != null) {
sharedEditingContext.bindObjectsWithFetchSpecification
( categoriesFetchSpec, "FetchCategories" );
}
}
}
/Daniel
On Aug 21, 2005, at 10:40 PM, Anjo Krank wrote:
You probably call up the EOModelGroup before
ERXEntityClassDescription did load. If you use XCode, you could
try to drag ERExtensions higher up in the frameworks dialog. If
that doesn't work: Wonder version? WO Version, App init code?
Other framework init code?
Not having it loaded will prevent validation and defaults from
working.
Am 21.08.2005 um 22:26 schrieb Daniel Eggert:
I'm seeing these for each entity when I start my WO app:
2005-08-21 22:15:39,478 WARN Aurora[1055:50000 0]
ERXEntityClassDescription (ERXEntityClassDescription.java:247) -
Entity classDescription is not ERXEntityClassDescription: Customer
I've looked at ERXEntityClassDescription.java:247, but I can not
figure out:
1) What is causing this?
2) What problems would arise from classDescription not being
ERXEntityClassDescription?
Thanks in advance.
/Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40logicunited.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40cluster9.com
This email sent to email@hidden
_______________________________________________
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