[
https://issues.apache.org/jira/browse/DERBY-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Hillegas updated DERBY-4580:
---------------------------------
Attachment: derby-4580-01-aa-dblookSequencesSoftUpgrade.diff
Attaching derby-4580-01-aa-dblookSequencesSoftUpgrade.diff. This patch makes
dblook check for sequences only if the database is at 10.6 or higher. A similar
check was already being performed for UDTs. Regression tests are running now.
Touches the following file:
M java/tools/org/apache/derby/tools/dblook.java
> Cannot use dblook on soft-upgraded database: Table/View 'SYS.SYSSEQUENCES'
> does not exist.
> ------------------------------------------------------------------------------------------
>
> Key: DERBY-4580
> URL: https://issues.apache.org/jira/browse/DERBY-4580
> Project: Derby
> Issue Type: Bug
> Components: Tools
> Affects Versions: 10.6.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Rick Hillegas
> Attachments: dblook.log,
> derby-4580-01-aa-dblookSequencesSoftUpgrade.diff
>
>
> I tried to use dblook on trunk to dump the schema of a database created with
> Derby 10.5. dblook printed the following message:
> -- Timestamp: 2010-03-12 15:45:50.836
> -- Source database is: db
> -- Connection URL is: jdbc:derby:db
> -- appendLogs: false
> -- Note: At least one unexpected error/warning message was
> -- encountered during DDL generation. See dblook.log
> -- to review the message(s).
> In dblook.log, I saw an exception with this message:
> java.sql.SQLSyntaxErrorException: Table/View 'SYS.SYSSEQUENCES' does not
> exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.