You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2010/03/12 15:51:27 UTC

[jira] Created: (DERBY-4580) Cannot use dblook on soft-upgraded database: Table/View 'SYS.SYSSEQUENCES' does not exist.

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


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.


[jira] Commented: (DERBY-4580) Cannot use dblook on soft-upgraded database: Table/View 'SYS.SYSSEQUENCES' does not exist.

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844683#action_12844683 ] 

Knut Anders Hatlen commented on DERBY-4580:
-------------------------------------------

Thanks for fixing this so quickly, Rick. I've verified that the patch works, and I can now successfully look at an old database. +1 to commit.

> 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.


[jira] Updated: (DERBY-4580) Cannot use dblook on soft-upgraded database: Table/View 'SYS.SYSSEQUENCES' does not exist.

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen updated DERBY-4580:
--------------------------------------

    Bug behavior facts: [Regression]

Flagging the bug as a regression, since it used to be possible to use dblook on soft-upgraded databases.

> 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
>
> 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.


[jira] Updated: (DERBY-4580) Cannot use dblook on soft-upgraded database: Table/View 'SYS.SYSSEQUENCES' does not exist.

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen updated DERBY-4580:
--------------------------------------

    Attachment: dblook.log

Attaching dblook.log with full stack trace.

> 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
>         Attachments: dblook.log
>
>
> 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.


[jira] Resolved: (DERBY-4580) Cannot use dblook on soft-upgraded database: Table/View 'SYS.SYSSEQUENCES' does not exist.

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas resolved DERBY-4580.
----------------------------------

    Resolution: Fixed

Thanks, Knut. Committed patch at subversion revision 922458.

> 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.


[jira] Updated: (DERBY-4580) Cannot use dblook on soft-upgraded database: Table/View 'SYS.SYSSEQUENCES' does not exist.

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (DERBY-4580) Cannot use dblook on soft-upgraded database: Table/View 'SYS.SYSSEQUENCES' does not exist.

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas reassigned DERBY-4580:
------------------------------------

    Assignee: Rick Hillegas

> 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.


[jira] Commented: (DERBY-4580) Cannot use dblook on soft-upgraded database: Table/View 'SYS.SYSSEQUENCES' does not exist.

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844534#action_12844534 ] 

Rick Hillegas commented on DERBY-4580:
--------------------------------------

Thanks for finding this, Knut. There may be a related dblook problem with UDTs in soft-upgraded databases.

> 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
>         Attachments: dblook.log
>
>
> 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.