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

    GeneratedValue field in composite key

    Sander S Newbie

      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 ?