When you have foreign-key relationships between database tables, you will usually want to preserve those relationships in the CMP beans mapped to those tables. The Relationship Mapping editor lets you determine how relationships between mapped CMP beans are stored in the database. Relationships enable navigation from one bean to another, in the same way that a foreign key enables navigation from one table to another.
The Relationship Mapping Editor takes you through the following steps:
In this panel, you perform the intial setup for preparing to map the related beans, fields and primary table.