Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-421
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-421
Summary: DbGenerator and generated column
Type: Improvement
Status: Assigned
Priority: Minor
Project: Cayenne
Components:
Cayenne Core Library
Versions:
1.2 [DEV]
Assignee: Andrus Adamchik
Reporter: Tore Halset
Created: Fri, 20 Jan 2006 3:15 AM
Updated: Fri, 20 Jan 2006 3:15 AM
Environment: PostgreSQL
Description:
I am trying to generate the database from my model, but some things are missing.
cayenne currently does create sequence for all tables.
CREATE SEQUENCE pk_person INCREMENT 20 START 200;
for tables with db-generated primary key cayenne should do something like:
create sequence pk_person;
alter table person alter person_id set default nextval('pk_person');
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://objectstyle.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
This archive was generated by hypermail 2.0.0 : Fri Jan 20 2006 - 03:16:43 EST