ItEr43S12CUGravacionModelosUnidadesTraballoItEr42S17: Fixing relationship.
Labels have a different lifecycle so cascade="all" shouldn't be used.
This commit is contained in:
parent
85a2b26696
commit
e3b896190b
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@
|
|||
<one-to-many class="org.navalplanner.business.materials.entities.MaterialAssignmentTemplate" />
|
||||
</set>
|
||||
|
||||
<set name="labels" table="ORDER_ELEMENT_TEMPLATE_LABEL" cascade="all">
|
||||
<set name="labels" table="ORDER_ELEMENT_TEMPLATE_LABEL">
|
||||
<key column="ORDER_ELEMENT_TEMPLATE_ID" not-null="true" />
|
||||
<many-to-many column="LABEL_ID" class="org.navalplanner.business.labels.entities.Label"/>
|
||||
</set>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue