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] [Resolved] (EMPIREDB-199) Option to controll the Sequence creation & Deletion
Date Sun, 24 Nov 2013 17:21:35 GMT

     [ 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)

Mime
View raw message