Chapter 4 Generating Hibernate Persistent Objects and JSF Pages


Table per subclass hierarchy

Using a table per subclass hierarchy means that each class has its own table.

The following diagram shows the generated physical data model:


Steps To define a table per subclass hierarchy:

  1. Open the property sheet of each class, click the Details tab, and select "Generate table".
  2. Generate a PDM with O/R mapping.
  3. Verify the mapping file in the Preview tab of the property sheet of each class.

 


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