Chapter 4 Generating Hibernate Persistent Objects and JSF Pages


Defining Hibernate Inheritance Mappings

Hibernate supports the three basic inheritance mapping strategies:

Steps To define an inheritance mapping strategy:

  1. Open the class property sheet, and click the Detail tab.
  2. Select one of the following options:



    You can also set the Persistence mode in the generalization property sheet to control whether each class should generate a table or migrate columns in the inheritance hierarchy.

 


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