Quote:
<class name="Type1" table="TST.ENT">
<composite-id name="CompsiteId" class="TestCompositeId" unsaved-value="any">
<key-property name="Id1" column="_ID_1" type="string"/>
<key-property name="Id2" column="_ID_2" type="string"/>
<key-property name="Key" column="_KEY" type="string"/>
<key-many-to-one name="myObj" class="MyObj" column="UID"/>
</composite-id>
<bag name="links" table="TST.Link" lazy="true" cascade="none" inverse="true">
<key>
<column name="_ID_1" not-null="true"/>
<column name="_ID_2" not-null="true"/>
<column name="_KEY" not-null="true"/>
</key>
<one-to-many class="Type2"/>
</bag>
<property name="ts" column="TS" type="java.sql.Timestamp" not-null="true"/>
</class>
Quote:
whatever UID value is
what does that mean?
Have you read all the docs? [/quote]