Hi Gino, On 23 Apr 2015, at 6:36 am, Gino Pacitti <[email protected]> wrote:
> One last question though and hopefully I have understood the previous > comments… > > If the framework has an empty connection dictionary and it is set via the > Properties file of the App using it i.e.. > dbConnectURLGLOBAL=<some URL> > dbConnectUserGLOBAL=<some user> > dbConnectPasswordGLOBAL=<some password> > > What happens if you also include another Model in your app and that uses a > different connection dictionary and accesses a different db? How do you get > them to know which dictionary is for which? You can specify connection parameters on a per-model basis. Take a look at the docs for ERXConfigurationManager: https://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/javadoc/er/extensions/foundation/ERXConfigurationManager.html Towards the bottom it shows per-model alternative property syntax to use instead of the *GLOBAL properties. (It's not something I've used before, though, and the docs seem to suggest there are cross-database differences—can anyone confirm this? You might need to experiment a bit.) -- Paul Hoadley http://logicsquad.net/
_______________________________________________ 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]
