PowerDesigner provides default transformation rules for generating physical data models from object-oriented models. You can customize these rules with persistence settings and generation options.
- Create your OOM, and populate it with persistent classes (see Entity Class Transformation), inheritance links and associations etc, to define the structure of your model domain.
- Select to open the PDM Generation Options dialog.
- On the General tab, specify the DBMS type and the name and code of the PDM to generate (or select an existing PDM to update.
- Click the Detail tab and select the O/R Mapping checkbox. You can optionally also specify a table prefix that will be applied to all generated tables.
- Click the Selection tab and the select the OOM objects that you want to transform into PDM objects.
- Click OK to generate (or update) your PDM.