ItEr19S10CUIntroducionPartesTraballoManualmenteItEr18S11: [Fix bug] On pressing WorkReportLine remove button, deletes it from DB

This commit is contained in:
Diego Pino Garcia 2009-07-28 20:22:03 +02:00 committed by Javier Moran Rua
parent 79e3ed65f7
commit 387b986d57

View file

@ -30,7 +30,7 @@
<many-to-one name="workReportType" class="WorkReportType" column="WORK_REPORT_TYPE_ID" not-null="true"/>
<set name="workReportLines" cascade="all" inverse="false">
<set name="workReportLines" cascade="all-delete-orphan" inverse="false">
<key column="WORK_REPORT_ID"/>
<one-to-many class="WorkReportLine"/>
</set>