O'Reilly logo

Oracle ADF 11gR2 Development Beginner's Guide by Vinod Krishnan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – creating an association between EmpEO and DeptEO objects

Carry out the following steps to create an association between EmpEO and DeptEO objects:

  1. Select the New option from the File menu and select ADF Business Component from the Business Tier.
  2. Enter the package name as com.empdirectory.model.association and the name as EmpEOToDeptEOAssoc in the Create Association wizard. The package structure for all these business objects can be predefined from the Tools | Preferences | ADF Business Components | Packages section.
  3. Click on the Next > button to create an association between the entity objects. Select the value of Cardinality as * to 1 from the drop-down menu to represent the many-to-one relationship between EmpEO and DeptEO.

    Note ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required