Re: MySQL, DbGenerator and auto_increment

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Jul 16 2008 - 07:08:15 EDT

  • Next message: Parth Pandya: "Cayenne named query problem on Oracle 10g"

    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



    This archive was generated by hypermail 2.0.0 : Wed Jul 16 2008 - 07:08:50 EDT