To add a create method to a CMP entity bean, you must have defined CMP fields, including at least one primary key. For more information, see How Do I: Define a Container-Managed Persistence (CMP) Field?
To Add a Create Method
The ejbCreate method is created and appears in Design view. Click the method name to view its source code. Notice that the corresponding ejbPostCreate method is also created.
How Do I: Define a Container-Managed Persistence (CMP) Field?