There must have been a terminology mishap somewhere. Rereading my post confuses me :) Let's try this with examples.
Parent table: Columns ParentId, ParentName
Child table: Colulmnd ChildId, ParentIdInChild, ChildName.
Mapping:
Code:
<class name="Parent" table="Parent">
<id name="ParentId" ...>
<property name="Name" column="ParentName"/>
<set name="Children" inverse="true">
<key column="ParentIdInChild"/>
<one-to-many class="Child"/>
</set>
</class>
<class name="Child" table="Child">
<id name="ChildId" ...>
<property name="Name" column="ChildName"/>
<!-- Can drop this many-to-one safely -->
<many-to-one name="Parent" class="Parent" column="ParentIdInChild"/>
</class>