cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: MySQL, DbGenerator and auto_increment
Date Wed, 16 Jul 2008 11:08:15 GMT
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


Mime
View raw message