Chapter 4 Generating Hibernate Persistent Objects and JSF Pages


Adding Hibernate Support

PowerDesigner uses a Hibernate Extended Model Definition (or profile) to generate Hibernate files.

Steps To add Hibernate support:

  1. Verify that the current model has the target language Java or Java 5.0
  2. Select Model→Extended Model Definitions.
  3. In the List of Extended Model Definitions, click on the Import tool.
  4. Select Hibernate in the O/R Mapping tab and click OK.

You can also select the Hibernate Extended Model Definition when creating an OOM.

Hibernate has a lot of options for O/R mapping support.

To generate Hibernate O/R mapping files that fit in your needs, you need to defined Hibernate specific options.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.