ItEr60S04ValidacionEProbasFuncionaisItEr59S04: [Bug #547] Fix bug.

Cascading the save from SchedulingDataForVersion to the TaskSource
caused the initial tasks sources to be saved. And later, in the same
transaction, are removed as marked by the user. This causes the
error. Now only cascades deletions.
This commit is contained in:
Óscar González Fernández 2010-07-04 23:36:26 +02:00
parent c01059d822
commit 3095cd5eff

View file

@ -198,7 +198,7 @@
</type>
</property>
<many-to-one name="orderElement" column="ORDER_ELEMENT_ID"></many-to-one>
<one-to-one name="taskSource" class="TaskSource" cascade="all" access="field" property-ref="schedulingData" />
<one-to-one name="taskSource" class="TaskSource" cascade="delete" access="field" property-ref="schedulingData" />
</class>
<class name="TaskSource">