Hi,
I have a list collection with configuraiton as follows:
<list name="correlationLots" cascade="all-delete-orphan" inverse="true">
<key column="cpbr"/>
<index column="seq"/>
<one-to-many class="com.tsmc.pdmcp.basicrecord.CorrelationLot"/>
</list>
I find that the index "seq" column is not updated, that is, it is always NULL when inserating an instance of CorrelationLot. I have used index column in many-to-many cases, it works fine. What is wrong with this composition one-to-many case?
Regards,
Rice
|