I'm using the <SET> tag, typically with the <Key> columns, but I now need to add a non primary key in my set clause.. This is what I currently have, does anybody know how I can add a column that is not part of the primary key in my example???
<set name="PremDataRecords" inverse="true">
<key>
<column name="HICN_CAN" length="9" />
<column name="HICN_BIC_CAT" length="2" />
<column name="CONTRACT_OCC" precision="3" scale="0" />
</key>
<one-to-many class="com.ngsmedicare.hbm.ContrPremium" />
</set>[/b]
|