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

Rainer Döbele resolved EMPIREDB-199.
------------------------------------

    Resolution: Not A Problem
      Assignee: Rainer Döbele

Again, this is the responsibility of the driver class. Usually the driver like 
e.g. the Oracle driver – DBDatabaseDriverOracle) will create the sequences when 
creating a table. But you can simply create your own driver class, derive it 
from DBDatabaseDriverOracle, override the getDDLScript() function and supply it 
with your own version of OracleDDLGenerator. In your generator class you will 
then want to override e.g.  the createSequence() method.

> Option to controll the Sequence creation & Deletion
> ---------------------------------------------------
>
>                 Key: EMPIREDB-199
>                 URL: https://issues.apache.org/jira/browse/EMPIREDB-199
>             Project: Empire-DB
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: empire-db-2.4.2
>            Reporter: Siddhartha Upadhyaya
>            Assignee: Rainer Döbele
>
> Today we don't have any option to control the creation / deletion of the 
> sequence which get autogenerated. Sequence is not represented as an Object, 
> like DBTable / DBColumn is introduced.
> We should have the flexibility to define the Sequence by our Own and 
> associated with the AUTOINC Column.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to