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 <pa...@logicsquad.net<mailto:pa...@logicsquad.net>>
Date: Thursday, March 3, 2016 at 11:01 PM
To: Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>>
Cc: WebObjects Development 
<webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com>>
Subject: Re: Can I force a reload of a database's JDBC info?

On 4 Mar 2016, at 4:59 pm, Chuck Hill 
<ch...@gevityinc.com<mailto:ch...@gevityinc.com>> 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.


--
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to