• 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
Guidance on how to create a framework for the application models
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Guidance on how to create a framework for the application models
      • From: Chuck Hill <email@hidden>
    • Re: Guidance on how to create a framework for the application models
      • From: Theodore Petrosky <email@hidden>
  • Prev by Date: ERJGroupsSynchronizer How To
  • Next by Date: test
  • Previous by thread: Re: ERJGroupsSynchronizer How To - Avoid debug logs
  • Next by thread: Re: Guidance on how to create a framework for the application models
  • Index(es):
    • Date
    • Thread