From 505fbe0abfb2c4a098b2b9cb254cb005b3c94098 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Wed, 6 Jul 2005 12:12:01 +0000 Subject: [PATCH] Users don't think git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@7382 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- reference/en/modules/inheritance_mapping.xml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/reference/en/modules/inheritance_mapping.xml b/reference/en/modules/inheritance_mapping.xml index 0b6c0e2575..2797be1549 100644 --- a/reference/en/modules/inheritance_mapping.xml +++ b/reference/en/modules/inheritance_mapping.xml @@ -216,7 +216,7 @@ - + Table per concrete class @@ -243,8 +243,8 @@ ]]> - Three tables are involved. Each table defines columns for all properties - of the class, including inherited properties. + Three tables are involved for the subclasses. Each table defines columns for + all properties of the class, including inherited properties. @@ -255,7 +255,14 @@ the primary key seed has to be shared accross all unioned subclasses of a hierarchy. - + + + If your superclass is abstract, map it with abstract="true". + Of course, if it is not abstract, an additional table (defaults to + PAYMENT in the example above) is needed to hold instances + of the superclass. + +