1 Reply Latest reply on Feb 9, 2006 4:07 PM by epbernard

    GeneratedValue field in composite key

    sander_s

      I would like one of my fields in a composite PK to be an auto_increment field.

      However the @GeneratedValue annotation only seems to work if there is only one PK field.

      A solution is to manually adjust the table. This works fine but I would like to see this happen automatically.

      Is it possible to do this with annotations ?