ItEr19S10CUIntroducionPartesTraballoManualmenteItEr18S11: [Fix bug] On pressing WorkReportLine remove button, deletes it from DB
This commit is contained in:
parent
79e3ed65f7
commit
387b986d57
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue