I have an object called an experiment set. It has a list of tsetreads
and each read has a list of transformations. The problem I'm having is
when I have an experimentset and I make a change to an underlying
read's transformation and then go to save the experimentset, the save
doesn't keep. I already tried adding the onsave() callback to the
transformation object and it never gets called. Here's the xml for the
experimentset :

<!-- bi-directional one-to-many association to Tsetread -->
<bag
name="tsetreads"
lazy="true"
inverse="true"
cascade="all"
>

<key>
<column name="TSETID" />
</key>
<one-to-many
class="com.kalypsys.domain.persistenceobjects.wak.Tsetread"
/>
</bag>


Now the read hbm:
<!-- bi-directional one-to-many association to Transformation -->
<bag
name="transformations"
lazy="true"
inverse="true"
cascade="all"
>

<key>
<column name="TSETREADID" />
</key>
<one-to-many

class="com.kalypsys.domain.persistenceobjects.wak.Transformation"
/>
</bag>



Finally the transformation:


<!-- bi-directional many-to-one association to Tsetread -->
<many-to-one
name="tsetread"
class="com.kalypsys.domain.persistenceobjects.wak.Tsetread"
not-null="false"
>

<column name="TSETREADID" />
</many-to-one>


Any help would be greatly appreciated.

-Robert