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 18:49:26 +0000
- Thread-topic: Can I force a reload of a database's JDBC info?
Hi Paul,
I missed something. You could make a JDBCPlugIn subclass, override jdbcInfo() and add the definition for citext to what super returns. A lot of the existing plugins do this. That is not difficult to do and you define the plugin class in the model
connection dictionary. That is probably the cleanest most reliable solution.
Chuck
From: Paul Hoadley < email@hidden>
Date: Thursday, March 3, 2016 at 11:01 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 4:59 pm, Chuck Hill < email@hidden> wrote:
Ah, right, protected, I was going to mention that and got distracted. :-) You will need to find a way to get it it to use a subclass of JDBCAdaptor. Wonder does this
with ERXJDBCAdaptor.
Here’s another potential hack. I know what the keypath ‘jdbc2Info.typeInfo.citext’ should look like in the connection dictionary, because I can see it in there if I CREATE EXTENSION manually ahead of time. Can I just pre-emptively stick that in the connection
dictionary at runtime if it’s not there? By which I mean I’ll try that—where and how would I do it? It doesn’t have to be in the migration.
|
_______________________________________________
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