Re: Can I force a reload of a database's JDBC info?
Re: Can I force a reload of a database's JDBC info?
- Subject: Re: Can I force a reload of a database's JDBC info?
- From: Chuck Hill <email@hidden>
- Date: Fri, 04 Mar 2016 06:13:41 +0000
- Thread-topic: Can I force a reload of a database's JDBC info?
It is clearly hacking. My preference would be to solve it some other way. That said, this all happens very early during migrations so if it tests out it should be OK.
Chuck
From: Paul Hoadley < email@hidden>
Date: Thursday, March 3, 2016 at 10:02 PM
To: Chuck Hill < email@hidden>
Cc: WebObjects Development < email@hidden>
Subject: Re: Can I force a reload of a database's JDBC info?
On 4 Mar 2016, at 2:45 pm, Chuck Hill < email@hidden> wrote:
You can remove the jdbc2Info key from the connection dictionary(ies) and then call setConnectionDictionary on the adaptor for each model (or just one if they all connect to the same database). Then call JDBCAdaptor.typeInfoModel(EOModel) get
get things setup again. That looks like it should do it.
That’s starting to sound hairy. Would you do this, or should I solve my problem some other way? (Meanwhile, trying it out…)
|
_______________________________________________
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