• 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: Can I force a reload of a database's JDBC info?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


-- 
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: Can I force a reload of a database's JDBC info?
      • From: Paul Hoadley <email@hidden>
References: 
 >Can I force a reload of a database's JDBC info? (From: Paul Hoadley <email@hidden>)
 >Re: Can I force a reload of a database's JDBC info? (From: Chuck Hill <email@hidden>)
 >Re: Can I force a reload of a database's JDBC info? (From: Paul Hoadley <email@hidden>)
 >Re: Can I force a reload of a database's JDBC info? (From: Chuck Hill <email@hidden>)
 >Re: Can I force a reload of a database's JDBC info? (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: SQL Server plugin framework
  • Next by Date: Re: SQL Server plugin framework
  • Previous by thread: Re: Can I force a reload of a database's JDBC info?
  • Next by thread: Re: Can I force a reload of a database's JDBC info?
  • Index(es):
    • Date
    • Thread