You can set the connection dictionary using properties.

http://jenkins.wocommunity.org/job/Wonder/javadoc/er/extensions/eof/ERXModelGroup.html


On Oct 2, 2013, at 3:04 PM, Riccardo De Menna wrote:

> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to