• 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
How do I configure an EOModel's connection info if it comes from a framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I configure an EOModel's connection info if it comes from a framework


  • Subject: How do I configure an EOModel's connection info if it comes from a framework
  • From: Riccardo De Menna <email@hidden>
  • Date: Thu, 03 Oct 2013 00:04:33 +0200

Hi All,

I have a question regarding how to configure an EOModel. The model is complete with connection info, db driver setup and so on and it works fine.
How should I behave if I wanted it to be more of an abstract thing and stick it into a framework so that different apps can include it, but replace their specific connection info that is relevant to them only?

Putting the model in the framework seems straightforward, but when I run the app, the model uses the connection info it finds in the framework copy of itself .

I clumsily attempted to duplicate the model in the app, and it does seem to replace the original model in the framework while editing (allowing me to enter custom connection details), but at runtime, it still picks up the original one.

Am I missing an obvious way of doing this?

regards,
Riccardo
 _______________________________________________
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: How do I configure an EOModel's connection info if it comes from a framework
      • From: Klaus Berkling <email@hidden>
    • Re: How do I configure an EOModel's connection info if it comes from a framework
      • From: Chuck Hill <email@hidden>
    • Re: How do I configure an EOModel's connection info if it comes from a framework
      • From: Ramsey Gurley <email@hidden>
  • Prev by Date: Offloading Practical WebObjects book & WO 5.0 / 5.1 package
  • Next by Date: Re: How do I configure an EOModel's connection info if it comes from a framework
  • Previous by thread: Re: Offloading Practical WebObjects book & WO 5.0 / 5.1 package
  • Next by thread: Re: How do I configure an EOModel's connection info if it comes from a framework
  • Index(es):
    • Date
    • Thread