[ http://issues.apache.org/jira/browse/DDLUTILS-96?page=all ]
Thomas Dudziak updated DDLUTILS-96:
-----------------------------------
Fix Version: 1.1
Full schema support (both ways: reading & writing) is one of the key things
scheduled for 1.1
> Db2 database cannot extract table definition from database with schema
> ----------------------------------------------------------------------
>
> Key: DDLUTILS-96
> URL: http://issues.apache.org/jira/browse/DDLUTILS-96
> Project: DdlUtils
> Type: Bug
> Components: Core
> Environment: DB2 database with schema and userid does not match schema name
> Reporter: jim vester
> Assignee: Thomas Dudziak
> Fix For: 1.1
>
> Using a db2 database with a schema a stack trace occurs when trying to
> extract the ddl from the datbase.
> the stack trace point to
> org.apache.ddlutils.platform.JdbcModelReader.determineAutoIncrementFromResultSetMetaData(...)
> ...
> query.append (" FROM ");
> if (getPlatform().isDelimitedIdentifierModeOn())
> {
> query.append(getPlatformInfo().getDelimiterToken());
> }
> query.append(table.getName());
> the schema is missing in the generated sql.
> I hacked it by checking if a schemaName existed in the table
> object and appending the table.getSchema() [?] +"." then the table name.
--
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