Arrgh. Must have been asleep when I asked that one. Property column does the trick.
<component name="measurements" class="eg.MeasurementGroup"> <component name="height" class="eg.Measurement"> <property name="units" column="height_units" type="string" not-null="true"/> <property name="value" column="height_value" type="integer" not-null="true"/> </component> <component name="weight" class="eg.Measurement"> <property name="units" column="weight_units" type="string" not-null="true"/> <property name="value" column="weight_value" type="integer" not-null="true"/> </component> <component name="length" class="eg.Measurement"> <property name="units" column="length_units" type="string" not-null="true"/> <property name="value" column="length_value" type="integer" not-null="true"/> </component> </component> ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel