Show TOC Start of Content Area

Procedure documentation Creating EJB Relationships in the Diagram View  Locate the document in its SAP Library structure

Use

You can create relationships between CMP entity beans. The relationship fields and the accessor methods are automatically created. For more information, see Container-Managed Relationships.

Prerequisites

You have the entity beans displayed on a page of the Diagram view.

Procedure

       1.      In the toolbar, select the EJB Relation icon.

       2.      Click on the first entity bean and drag and drop the link to the second entity bean.

An arrow appears linking the two beans.

This graphic is explained in the accompanying text

       3.      Select the arrow to display the properties of the relationship in the Properties view.

This graphic is explained in the accompanying text

       4.      Edit the properties of the relationship.

End of Content Area