Hi Gavin: What is the recommended method for handling the following? I want to store this data in the parent table so that a join isn't necessary to load it. Hibernate gets the mapping below, but only allocates a single column for 'units' and 'value'.
<component name="measurements" class="eg.MeasurementGroup"> <component name="height" class="eg.Measurement"> <property name="units" type="string" not-null="true"/> <property name="value" type="integer" not-null="true"/> </component> <component name="weight" class="eg.Measurement"> <property name="units" type="string" not-null="true"/> <property name="value" type="integer" not-null="true"/> </component> <component name="length" class="eg.Measurement"> <property name="units" type="string" not-null="true"/> <property name="value" type="integer" not-null="true"/> </component> </component> This would be simple if extended column names were available for nested components, ie weight_units, height_value, etc but unless I've missed something that isn't an option at present. Other suggestions? Thanks! ------------------------------------------------------- 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