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 ?
no this is not possible