• 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: Paul Hoadley <email@hidden>
  • Date: Fri, 04 Mar 2016 16:55:46 +1030

Hi Chuck,

On 4 Mar 2016, at 2:45 pm, Chuck Hill <email@hidden> wrote:

Then call JDBCAdaptor.typeInfoModel(EOModel) get get things setup again.

I’m in a migration upgrade() method, and I’ve got to this point. I can get database.adapter() (where database is the ERXMigrationDatabase passed to upgrade()), but then typeInfoForModel() is protected static on JDBCAdapter. I think I’m stuck there, aren’t I?

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.

Yeah, given the only working alternative I’ve found is to manually CREATE EXTENSION, I’ll live with a hack if I can get it to work, but I can’t even do that yet.

Has anyone ever used any PostgreSQL extension types (CITEXT or anything else) in any scenario?


-- 
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: Chuck Hill <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>)

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