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 protected]<mailto:[email protected]>> Date: Thursday, March 3, 2016 at 10:02 PM To: Chuck Hill <[email protected]<mailto:[email protected]>> Cc: WebObjects Development <[email protected]<mailto:[email protected]>> Subject: Re: Can I force a reload of a database's JDBC info? On 4 Mar 2016, at 2:45 pm, Chuck Hill <[email protected]<mailto:[email protected]>> 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…) -- 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]
