Re: Problems migrating from Progress 9.1D05 to Mysql 4.1.9 using generic jdbc
Posted by: Michael G. Zinner
Date: August 03, 2005 05:23AM

I had to add calls to getDatabaseMajorVersion(), getDatabaseMinorVersion() and getDatabaseProductVersion() of the DatabaseMetaData interface.

These seem to cause problems with the progress odbc driver that appears to be buggy.

A quick workaround would be to comment this try block out in .\java\com\mysql\grt\modules\ReverseEngineeringGeneric.java and recompile it.

public static Version getVersion(com.mysql.grt.db.mgmt.Connection dbConn)
throws Exception {
...
Version versionInfo = new Version(null);

/*try {
versionInfo.setName(conn.getMetaData().getDatabaseProductVersion());
versionInfo.setMajor(conn.getMetaData().getDatabaseMajorVersion());
versionInfo.setMinor(conn.getMetaData().getDatabaseMinorVersion());
} catch (Exception e) {
// ignore exceptions if the driver does not support the version functions
}*/

return versionInfo;
}

But let me check if i can add a general option to disable the version check.

Mike

Michael Zinner, Team Lead, Developer Tools
MySQL AB, www.mysql.com

Are you MySQL certified? www.mysql.com/certification

Options: ReplyQuote


Subject
Written By
Posted
Re: Problems migrating from Progress 9.1D05 to Mysql 4.1.9 using generic jdbc
August 03, 2005 05:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.