You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by ABOU LINA <am...@gmail.com> on 2006/03/09 20:43:11 UTC
ODMG; SequenceManager
Hi,
i have DB2 database;
i want to make a sequence on primary key of each table and not a global
sequence for all table ???
how can i do it ??
thx
Re: ODMG; SequenceManager
Posted by Armin Waibel <ar...@apache.org>.
Hi,
ABOU LINA wrote:
> Hi,
> i have DB2 database;
> i want to make a sequence on primary key of each table and not a global
> sequence for all table ???
> how can i do it ??
I don't know which SequenceManager you use.
http://db.apache.org/ojb/docu/guides/sequencemanager.html
Most implementations use a sequence per table by default, except if
inheritance/extents are used, in this case it's mandatory that all table
of a object hierarchy use the same sequence name.
You can force OJB to auto-generate a sequence name or set the
sequence-name in the field-descriptor.
regards,
Armin
> thx
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org