[
http://issues.apache.org/jira/browse/DDLUTILS-33?page=comments#action_12357086
]
Martin van den Bemt commented on DDLUTILS-33:
---------------------------------------------
I can remove the 3 lines that set the catalog if it is null and for now advice
people to call setDefaultCatalog and setDefaultSchema to get around this issue ?
(starting at line 178)
if (catalog == null)
{
catalog = db.getName();
}
Which is actually the change that fixed this mysql 4.1 issue.
> Error while instanciating a JdbcModelReader with MySQL (4.1)
> ------------------------------------------------------------
>
> Key: DDLUTILS-33
> URL: http://issues.apache.org/jira/browse/DDLUTILS-33
> Project: DdlUtils
> Type: Bug
> Environment: MySQL
> Reporter: Xavier TROUSSICOT
> Assignee: Thomas Dudziak
>
> I get the following error :
> java.sql.SQLException: Can't read dir of '.\%\' (Errcode: 2)
> The following changes in JdbcModelReader bypass the problem :
> /** The database catalog to read. */
> private String catalog = "";
> /** The database schema to read. */
> private String schema = "";
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira