Hi there,
lets take this example
<class name="Product">
<id name="serialNumber" column="productSerialNumber"/>
<property name="category" column="category" />
<set name="categories">
<key column="productSerialNumber_FK" not-null="true"/>
<one-to-many class="Part"/>
</set>
The collection mapping always maps with the id from the class, which holds the foreign key. Is it possible to let hibernate map the collection through an other property/column? So that in this example category is mapped against the class Part?