• 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
Re: Framework EOModels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Framework EOModels


  • Subject: Re: Framework EOModels
  • From: Paul Hoadley <email@hidden>
  • Date: Thu, 23 Apr 2015 07:48:11 +0930

Hi Gino,

On 23 Apr 2015, at 6:36 am, Gino Pacitti <email@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Framework EOModels
      • From: Gino Pacitti <email@hidden>
References: 
 >Framework EOModels (From: Gino Pacitti <email@hidden>)
 >Re: Framework EOModels (From: Dev WO <email@hidden>)
 >Re: Framework EOModels (From: Gino Pacitti <email@hidden>)
 >Re: Framework EOModels (From: Dev WO <email@hidden>)
 >Re: Framework EOModels (From: Gino Pacitti <email@hidden>)
 >Re: Framework EOModels (From: Dev WO <email@hidden>)
 >Re: Framework EOModels (From: Gino Pacitti <email@hidden>)
 >Re: Framework EOModels (From: Dev WO <email@hidden>)
 >Re: Framework EOModels (From: Gino Pacitti <email@hidden>)
 >Re: Framework EOModels (From: Dev WO <email@hidden>)
 >Re: Framework EOModels (From: Gino Pacitti <email@hidden>)
 >Re: Framework EOModels (From: Gino Pacitti <email@hidden>)
 >Re: Framework EOModels (From: Gino Pacitti <email@hidden>)

  • Prev by Date: Re: Framework EOModels
  • Next by Date: Re: Framework EOModels
  • Previous by thread: Re: Framework EOModels
  • Next by thread: Re: Framework EOModels
  • Index(es):
    • Date
    • Thread