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 protected]<mailto:[email protected]>> Date: Thursday, March 3, 2016 at 10:25 PM To: Chuck Hill <[email protected]<mailto:[email protected]>> Cc: WebObjects Development <[email protected]<mailto:[email protected]>> 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 protected]<mailto:[email protected]>> 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 protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
