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 06:29:53 +0000
- Thread-topic: Can I force a reload of a database's JDBC info?
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.
Chuck
From: Paul Hoadley < email@hidden>
Date: Thursday, March 3, 2016 at 10:25 PM
To: Chuck Hill < email@hidden>
Cc: WebObjects Development < email@hidden>
Subject: Re: Can I force a reload of a database's JDBC info?
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