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 problem: everytime cayenne is doing an insert, a "select pk_xyz.nextval from dual" is fired. What's that ? Did I missunderstood anything ? I expected cayenne to ignore the pk-attributes completely.

Any help appreciated.

Greets Jens

Reply via email to