-
Book Overview & Buying
-
Table Of Contents
Oracle ADF 11gR2 Development Beginner's Guide
By :
In this section, we will create
another entity object for the DEPT table from HRSchema. There are two ways of creating an entity object—the first way of creating an entity object was explained in Chapter 2, Getting started with ADF. Now, we will see how to create an entity object using another way.
Right-click on the com.empdirectory.model package from the Model project in the Application Navigator panel where the EmpEO.xml is located and select the New Entity Object option from the menu.
This will open the Create Entity Object wizard for you to create the entity object.
Enter com.empdirectory.model.entity as the package information for the entity object and DeptEO as its Name, as shown in the following screenshot:

Select the HR schema from the drop-down menu and the DEPT table using the Browse button. Alternatively, we can directly enter DEPT in the Schema Object: box, if we know the table name correctly.
Move to the next screen to...
Change the font size
Change margin width
Change background colour