I would like to use CMP entity beans. Usually in database development the first column is an integer not null, unique and defined as primary key. In the entity beans samples I watched until now, I always see a string as primary key, this one is a name, email ... My question: Is the EJB primary key different from the database primary key? Is there existing a good example where I can examine this problem?