Cascade save on map save.

This commit is contained in:
Paulo Gustavo Veiga 2012-08-26 20:34:01 -03:00
parent 666cf329a8
commit 1dfe6ab711

View File

@ -20,7 +20,7 @@
<many-to-one name="lastEditor" column="last_editor_id" unique="false" not-null="true" lazy="proxy"/>
<set name="collaborations"
cascade="all,delete-orphan"
cascade="all,delete-orphan,save-update"
inverse="true">
<key column="MINDMAP_ID" not-null="true"/>
<one-to-many class="com.wisemapping.model.Collaboration"/>