db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Ruehlicke (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-103) Global Oracle/Axion style sequence generator
Date Thu, 16 Dec 2004 20:43:01 GMT
     [ http://nagoya.apache.org/jira/browse/DERBY-103?page=comments#action_56793 ]
     
Bernd Ruehlicke commented on DERBY-103:
---------------------------------------

Of course it should also support code like

....
s = getConnection().createStatement();
String query = "select module_s, mySql.nextval from my_module";
r = s.executeQuery(query);

r.next();
String module_s = r.getString(1);
String new_s = r.getString(2);

...


> Global Oracle/Axion style sequence generator
> --------------------------------------------
>
>          Key: DERBY-103
>          URL: http://nagoya.apache.org/jira/browse/DERBY-103
>      Project: Derby
>         Type: Wish
>     Reporter: Bernd Ruehlicke

>
> The identity column generator is just not enought. It would just be wonderful if Derby
had commands like
> CREATE SEQUENCE mySeq;
> values mySeq.nextval;
> values mySeq.currval;
> CREATE TABLE my_table (
>     id integer default mySeq.nextval,
>     value varchar(40)
> )
> DROP SEQUENCE mySeq;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message