Re: Newbie Question concerning pk autoincrementing

2007-04-06 Thread Michael Gentry
Also, this isn't a Cayenne-specific problem, either. I'd so most, if not all, ORM technologies would have an issue with the DB generating PKs behind the scenes without the ORM stack knowing the values that were assigned. Thanks, /dev/mrg On 4/6/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote:

Re: Newbie Question concerning pk autoincrementing

2007-04-06 Thread Andrus Adamchik
On Apr 6, 2007, at 12:53 PM, Jens Mayer wrote: I'm using cayenne with oracle 9.2.0.3.0 The pk-attributes in my schema are automatically generated by before-insert-triggers, so cayenne doesn't have to bother generating any pk. Due to this, I set the PK Generation Strategy for all DbEntit

Newbie Question concerning pk autoincrementing

2007-04-06 Thread Jens Mayer
Hi, I'm using cayenne with oracle 9.2.0.3.0 The pk-attributes in my schema are automatically generated by before-insert-triggers, so cayenne doesn't have to bother generating any pk. Due to this, I set the PK Generation Strategy for all DbEntities to "Database-Generated". And here comes the