Monday, January 28, 2002 03:00 AM
No, you cannot create a CMP without a primary key. The reason is simple: the Primary Key is used to uniquely identify your row. Without the Primary Key the database and the EJB container will not be able to return you the single row.
How would you identify the row if you do not have a primary key?