Adding Hibernate Support

To generate Hibernate O/R mapping files that fit in your needs, you need to defined Hibernate specific options. PowerDesigner provides support for Hibernate through an extended model definition.

  1. Verify that the current model has the target language Java or Java 5.0
  2. Select Model > Extended Model Definitions, and click the Import tool.
  3. Click the O/R Mapping sub-tab, select the Hibernate xem, and click OK to attach it to your model.
Note:

You can also attach an XEM at model creation time by clicking the Select Extensions button on the New Model dialog.