Bugs item #851757, was opened at 2003-11-30 22:35
Message generated for change (Comment added) made by unlord
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=851757&group_id=22866

Category: JBossCMP
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: unlord (unlord)
Assigned to: Nobody/Anonymous (nobody)
Summary: no sequence created on table creation

Initial Comment:
When auto-increment is enabled on any column using CMP,
a sequence should be created when creating the table.

For example, if entity-command postgresql-fetch-seq is
used, then a postgresql sequence with the appropriate
name should be created when the database table that
contains the column that uses the sequence is created.

This bug is reproducable under JBoss 3.2.2 using
PostgreSQL 7.3.4.

----------------------------------------------------------------------

>Comment By: unlord (unlord)
Date: 2003-11-30 23:14

Message:
Logged In: YES 
user_id=35461

In addition, in the case of PostgreSQL, the primary key
should have a DEFAULT nextval('"<sequence>"') set on it. 
This is so that code that executes will work immediately.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=851757&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to