ItEr25S07CUAsignacionGrupoRecursosAPlanificacionItEr24S08: When the allocation is saved, the assignments must be saved too.

Besides the association is the inverse of the existing many-to-one relationship from GenericDayAssigment
This commit is contained in:
Óscar González Fernández 2009-09-16 13:50:02 +02:00
parent d3bae4b754
commit 272f6cecae

View file

@ -38,7 +38,7 @@
<one-to-many class="org.navalplanner.business.resources.entities.Criterion"/>
</set>
<set name="genericDayAssigments" inverse="false">
<set name="genericDayAssigments" cascade="all">
<key column="GENERIC_RESOURCE_ALLOCATION_ID"/>
<one-to-many class="GenericDayAssigment"/>
</set>