Databases Reference
In-Depth Information
1. Right-click on the com.empdirectory.model package from the Model project
in the Applicaion Navigator panel where the EmpEO.xml is located and select
the New Enity Object opion from the menu.
2. This will open the Create Enity Object wizard for you to create the enity object.
3.
Enter com.empdirectory.model.entity as the package informaion for the
enity object and DeptEO as its Name , as shown in the following screenshot:
4. Select the HR schema from the drop-down menu and the DEPT table using
the Browse buton. Alternaively, we can directly enter DEPT in the Schema
Object: box, if we know the table name correctly.
5. Move to the next screen to accept the listed atributes and then click on the
Next > buton.
6. In the next screen, the Deptno atribute seings and informaion related to
the atribute can be selected.
7. When you atempt to move to the next screen, a message, which warns the
user that there was no primary key atribute selected for the enity object,
will be displayed.
 
Search WWH ::




Custom Search