empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Döbele (JIRA) <empire-db-...@incubator.apache.org>
Subject [jira] [Closed] (EMPIREDB-71) Auto Increment Column Property that lives well with existing DataType.AUTOINC
Date Mon, 04 Feb 2013 14:12:13 GMT

     [ https://issues.apache.org/jira/browse/EMPIREDB-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Rainer Döbele closed EMPIREDB-71.

Cleanup of unclosed issues.
> Auto Increment Column Property that lives well with existing DataType.AUTOINC
> -----------------------------------------------------------------------------
>                 Key: EMPIREDB-71
>                 URL: https://issues.apache.org/jira/browse/EMPIREDB-71
>             Project: Empire-DB
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: empire-db-2.0.5-incubating
>            Reporter: McKinley
>            Assignee: Rainer Döbele
>             Fix For: empire-db-2.0.6-incubating
>         Attachments: empire-db-mckinley-autoinc-20-Jan-2010.patch
>   Original Estimate: 10m
>  Remaining Estimate: 10m
> Not all DBMS use only int for auto increment columns. There would be significant work
involved in adding data type checks to all cases of auto increment for all DBMS. The is no
auto increment column in my mind that is not some other standalone data type such as int,
decimal or uniqueidentifier*. Therefore, the data type and auto increment properties of a
column are and should be separate.
> This patch will create a new property for auto increment and change all the locations
that checked for DataType.AUTOINC.  The isAutoIncrement() accessor method defers to DataType.AUTOINC
making it compatible for all those who would like to continue to use DataType.AUTOINC.
> One stylistic question: are the 1) private member boolean autoinc and 2) accessor isAutoIncrement()
and 3) method parameter autoinc the names and casing that you would have chosen?
> Thanks,
> McKinley
> *uniqueidentifier is not technically auto increment (it is not serial), but from the
perspective of Empire-db it must be used as auto increment when it is part of a primary key.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message