How to change the auto pk increment to 1?

From: Ahmed Mohombe (amohomb..ahoo.com)
Date: Sat Dec 31 2005 - 09:13:23 EST


Hi,

Doing several inserts in the same table with Cayenne (in different transactions), it seems that the
PK is incremented by 20. I understood that Cayenne is doing some cache or something, but IMHO in
many cases this behavior is not desired at all.

Is it possible to configure Cayenne somehow so that for the *same* table the PKs are
incremented by *1* not 20? (the same way how Mysql or Access or other autoincremented columns work
in those DBs?)

Thanks in advance,

Ahmed.



This archive was generated by hypermail 2.0.0 : Sat Dec 31 2005 - 09:13:41 EST