Creating a Database View-Based Entity Object
To create an Entity Object that is based on the database view, perform the following steps:
1. Name the entity and select the Views check box on the Name page of the Create Entity Object wizard. You see the available database views in the current schema in the Schema Object list. Select the desired view in the Schema Object list.
2. In the Attribute Settings panel, use the Select Attribute list to select the attribute for the primary key, and then enable the Primary Key setting for that property. Repeat for other attributes if more than one attribute comprises the primary key.