Rename MindmapUser to Collaboration.
This commit is contained in:
@@ -12,11 +12,11 @@
|
||||
<property name="email"/>
|
||||
<property name="creationDate" column="creation_date"/>
|
||||
|
||||
<set name="mindmapUsers"
|
||||
<set name="collaborations"
|
||||
cascade="all, delete-orphan"
|
||||
inverse="true">
|
||||
<key column="COLABORATOR_ID" not-null="true"/>
|
||||
<one-to-many class="com.wisemapping.model.MindmapUser"/>
|
||||
<one-to-many class="com.wisemapping.model.Collaboration"/>
|
||||
</set>
|
||||
|
||||
<joined-subclass name="com.wisemapping.model.User" table="USER">
|
||||
|
@@ -22,18 +22,18 @@
|
||||
|
||||
<many-to-one name="owner" column="owner_id" unique="true" not-null="true"/>
|
||||
|
||||
<set name="mindmapUsers"
|
||||
<set name="collaborations"
|
||||
cascade="all, delete-orphan"
|
||||
inverse="true">
|
||||
<key column="MINDMAP_ID" not-null="true"/>
|
||||
<one-to-many class="com.wisemapping.model.MindmapUser"/>
|
||||
<one-to-many class="com.wisemapping.model.Collaboration"/>
|
||||
</set>
|
||||
|
||||
<set name="collaboratorProperties"
|
||||
cascade="all, delete-orphan"
|
||||
inverse="true">
|
||||
<key column="MINDMAP_ID" not-null="true"/>
|
||||
<one-to-many class="com.wisemapping.model.CollaboratorProperties"/>
|
||||
<one-to-many class="com.wisemapping.model.MindmapCollaborationProperties"/>
|
||||
</set>
|
||||
|
||||
</class>
|
||||
|
@@ -5,7 +5,7 @@
|
||||
|
||||
<hibernate-mapping>
|
||||
|
||||
<class name="com.wisemapping.model.MindmapUser" table="MINDMAP_COLABORATOR">
|
||||
<class name="com.wisemapping.model.Collaboration" table="MINDMAP_COLABORATOR">
|
||||
<id name="id">
|
||||
<generator class="increment"/>
|
||||
</id>
|
@@ -5,7 +5,7 @@
|
||||
|
||||
<hibernate-mapping>
|
||||
|
||||
<class name="com.wisemapping.model.CollaboratorProperties" table="MINDMAP_COLLABORATOR_PROPERTIES">
|
||||
<class name="com.wisemapping.model.MindmapCollaborationProperties" table="MINDMAP_COLLABORATION_PROPERTIES">
|
||||
<id name="id">
|
||||
<generator class="increment"/>
|
||||
</id>
|
Reference in New Issue
Block a user