ItEr41S16ImplantacionAplicacionItEr40S21: Adding missing delete-orphan.
Avoids exception when removing an allocation row with derived allocations.
This commit is contained in:
parent
d2333b6312
commit
2c6036250f
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@
|
|||
column="ASSIGNMENT_FUNCTION" not-null="false"
|
||||
cascade="all" lazy="false" />
|
||||
|
||||
<set name="derivedAllocations" cascade="all" inverse="true">
|
||||
<set name="derivedAllocations" cascade="all-delete-orphan" inverse="true">
|
||||
<key column="RESOURCE_ALLOCATION_ID" />
|
||||
<one-to-many class="DerivedAllocation"/>
|
||||
</set>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue