ObjectExtender User's Guide and Reference

Creating a single table map with no inheritance

A table map with no inheritance is the most common type of mapping used. This type of map will be used to map attributes and relationships from one persistent object model class to one database table.

There are several examples of this type of mapping within the Bank sample model.

Launch the Map Browser, and select BankSample from the Datastore Maps view, and then select VapCurrency in the Persistent Classes view. In the Table Maps view, the CURRENCY table map listed is one example of a table map with no inheritance.

It was created as follows:

  1. Select VapCurrency from the Persistent Classes.
  2. Select New Table Map from the Table_Maps menu.

    This opens the Table Map with No Inheritance editor.


    Figure pgs2j not displayed.

  3. Select the CURRENCY table from the Table list.
  4. Select OK.

The table map has been created but there are no property maps for this table map. To map the attributes and associations for the table, select the CURRENCY table map and then select Edit Property Maps from the Table_Maps menu.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]