Re: [JBoss-user] primary key: auto-increment

2004-02-06 Thread Ivens Porto
Victor Batista wrote: Hi! Thanks for your reply! Is there any way to have incremental primary keys without the explicit usage of sequences? If yes, how? What do you mean by implicit use of sequences? Is it possible to have an incremental primary key without the usage of

RE: [JBoss-user] primary key: auto-increment

2004-02-05 Thread Alexey Loubyansky
Is there any way to have incremental primary keys without the explicit usage of sequences? If yes, how? What do you mean by implicit use of sequences? What can I win with a unknown-pk declaration? There is a paragraph in the spec about it called Special case Unknown primary keys. Is there

RE: [JBoss-user] primary key: auto-increment

2004-02-05 Thread Victor Batista
Hi! Thanks for your reply! Is there any way to have incremental primary keys without the explicit usage of sequences? If yes, how? What do you mean by implicit use of sequences? Is it possible to have an incremental primary key without the usage of sequences? Which is the better

RE: [JBoss-user] primary key: auto-increment

2004-02-05 Thread Alexey Loubyansky
What do you mean by implicit use of sequences? Is it possible to have an incremental primary key without the usage of sequences? !-- uses key generator to fetch the next key value -- entity-command name=key-generator