Hibernate version:2.1
Code:
<hibernate-mapping >
<class name="TenderLineItemBean" table="TR_LTM_TND" >
<composite-id >
<key-property name="aiTrn" column="AI_TRN" type="string" />
<key-property name="aiLnItm" column="AI_LN_ITM" type="integer"/>
</composite-id>
.
.
.
.
<joined-subclass name="TenderLineItemCheckBean" table="TR_LTM_CHK_TND" >
We have composite-id in the parent class, I want to have the same composite-id in my subclass as well. But, when I try the composite-id in the joined-subclass, the mapping document is not loaded. It expects <key element under <joined-subclass
Any ideas how can I make this work.
Thanks,