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: 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?
|
_______________________________________________
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