From the context menu of the app_ejb, choose
.Enter the following package name com.sap.nwce.ra.sedm.ejb.entity and choose Finish.
From the new package context menu, choose
, enter class name Employee, and choose Next.To add the entity fields (in fact the entity database columns) choose repeatedly Add and use the table listing the necessary entity fields for the Employee entity.
Type |
Name |
int |
employeeId |
java.lang.String |
|
int |
salary |
java.lang.String |
salutation |
int |
version |
java.lang.String |
lastName |
java.lang.String |
login |
java.lang.String |
firstName |
Choose Finish to complete the entity creation.
Open the Employee class, and from the secondary mouse button select
.Save the changes.
Using the above steps from 3 to 7 (and the table below) create the class name Project.
Type |
Name |
int |
projectId |
int |
status |
java.lang.String |
description |
java.util.Date |
startDate |
java.lang.String |
title |
int |
version |