Re: Cannot register the database context for the model?
Re: Cannot register the database context for the model?
- Subject: Re: Cannot register the database context for the model?
- From: Alan Zebchuk <email@hidden>
- Date: Tue, 24 Apr 2007 15:54:02 -0400
Yes the error message was edited. The model it actually refers to
does exist.
It's very odd that it only happens when I first try to access this
relationship, and after that everything works fine.
All of the model paths are correct.
Alan
On 24-Apr-07, at 3:14 PM, Mike Schrag wrote:
All the entity names are unique. The model.adaptorName() is "JDBC"
and the dabase context's adapter().name() is "JDBC". I've also
removed the jdbc2Info dictionaries from all the models. However,
the error still occurs.
Alan
Do you actually have a model named MyEOModel or was that error
message edited? That sounds a little suspicious given that
MyEOModel is the default name Entity Modeler makes for a new
model. I would enumerate in code in your app the default mode
group's models, print out all the names, and the locations of the
model folder and make sure the models are what you think/expect
them to be.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40protocolis.ca
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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