[Bug #985] Fixed changing lables mapping to all-delete-orphan.

FEA: ItEr74S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2011-04-14 17:24:33 +02:00
parent 4063b6d293
commit ea66938db4

View file

@ -46,7 +46,7 @@
column="last_label_sequence_code" />
<!-- Indexed the other side -->
<set name="labels" inverse="false" cascade="all">
<set name="labels" inverse="false" cascade="all-delete-orphan">
<cache usage="nonstrict-read-write"/>
<key column="label_type_id"/>
<one-to-many class="Label"/>