Guidance on how to create a framework for the application models
Guidance on how to create a framework for the application models
- Subject: Guidance on how to create a framework for the application models
- From: "Sr. Ângelo Andrade Cirino" <email@hidden>
- Date: Tue, 14 Aug 2012 20:49:42 -0300
Hi,
I have two applications, the backend as a D2W and the fronted as a small WO application with a simple DisplayGroup, that use the same models. Trying to simplify maintenance and to have the models in just one place, I created a framework to hold the models, but when I tried it with the DisplayGroup application I got the following error:
IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@42bb0406: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured. at com.webobjects.eoaccess.EODatabaseContext._obtainOpenChannel(EODatabaseContext.java:1967)
And a similar error when changing the model in EOModeler and trying to generate the SQL. The framework is supposed to only have the models and its connection dictionary is correctly written, since I just copied the eomodeld files from a working application.
Any suggestion?
Angelo |
_______________________________________________
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