db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Pendleton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6905) Enhance SYS.SYSCOLUMNS to report the CYCLE value for an IDENTITY column
Date Tue, 20 Jun 2017 01:56:02 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16055046#comment-16055046

Bryan Pendleton commented on DERBY-6905:

To amplify slightly on Rick's comment, a bit of history (much of which predates my time working
with Derby, so I may have some significant errors in here):
- originally, the Derby regression test suites used their own home-grown test harness
- a massive effort was undertaken over a multi-year period, which converted most, but not
all, of those old regression tests to run with the JUnit test harness
- for many years, all new regression tests have been JUnit tests
- there is no single command (that I know of) which runs **all** the tests. You have to use
'ant junit-all' to run the vast majority of tests, and then the command that Rick gave to
run the collection of old un-converted tests.

For some (old) history on these topics, you can have a look here:
- http://mail-archives.apache.org/mod_mbox/db-derby-dev/200607.mbox/%3C44BFD7EE.3020708@apache.org%3E
- https://wiki.apache.org/db-derby/KillDerbyTestHarness

> Enhance SYS.SYSCOLUMNS to report the CYCLE value for an IDENTITY column
> -----------------------------------------------------------------------
>                 Key: DERBY-6905
>                 URL: https://issues.apache.org/jira/browse/DERBY-6905
>             Project: Derby
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions:
>            Reporter: Bryan Pendleton
>            Assignee: Harshvardhan Gupta
>            Priority: Minor
>             Fix For:
>         Attachments: dblook_tests.diff
> DERBY-6542 changed IDENTITY columns to build upon the underlying
> SEQUENCE objects. SEQUENCE objects can have a CYCLE option
> set for them, and as of DERBY-6852, the CYCLE option controls the
> behavior of the IDENTITY column that uses that SEQUENCE.
> It would be nice if SYS.SYSCOLUMNS would report the CYCLE option
> that is in effect for a IDENTITY column in that column's row in SYSCOLUMNS.

This message was sent by Atlassian JIRA

View raw message