Hi max ,
The Primary Key its YOUR WORK ! , the
EJB CONTAINER does not generate the primary key for you because its don't know what's about your bean / your code, once that's no way to say to EJB Container that a field is auto generate primary key ...
hope this help ...
Regards,
Paulo Nunes