Time for action – creating an entity object for DEPT table

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.

  1. 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.
  2. This will open the Create Entity Object wizard for you to create the entity object.
  3. Enter com.empdirectory.model.entity as the package information for the entity object and DeptEO as its Name, as shown ...

Get Oracle ADF 11gR2 Development Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.