Yes, auto increment flags are added to PK columns by Cayenne. Just set "PK Generation Strategy" for each entity in question to "Database Generated".

Andrus

On Jul 16, 2008, at 9:53 AM, Borut Bolčina wrote:

Hello,

is it possible to generate AUTO_INCREMENT with MySQLDbAdapter when running
DbGenerator via API?

The goal is to use auto_increment instead of AUTO_PK_SUPPORT table.

Regards,
Borut

Reply via email to