- Add support for starred.
- Remove tags temporally.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE hibernate-mapping PUBLIC
|
||||
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
||||
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
|
||||
|
||||
<hibernate-mapping>
|
||||
|
||||
<class name="com.wisemapping.model.CollaboratorProperties" table="MINDMAP_COLLABORATOR_PROPERTIES">
|
||||
<id name="id">
|
||||
<generator class="increment"/>
|
||||
</id>
|
||||
|
||||
<property name="starred" column="starred" unique="false" not-null="true"/>
|
||||
|
||||
<!-- Read-only association property -->
|
||||
<many-to-one name="mindmap"
|
||||
column="MINDMAP_ID"
|
||||
not-null="true"
|
||||
class="com.wisemapping.model.MindMap"
|
||||
/>
|
||||
|
||||
<many-to-one name="collaborator"
|
||||
column="COLLABORATOR_ID"
|
||||
not-null="true"
|
||||
class="com.wisemapping.model.Collaborator"
|
||||
/>
|
||||
</class>
|
||||
|
||||
</hibernate-mapping>
|
@@ -27,7 +27,14 @@
|
||||
inverse="true">
|
||||
<key column="MINDMAP_ID" not-null="true"/>
|
||||
<one-to-many class="com.wisemapping.model.MindmapUser"/>
|
||||
</set>
|
||||
</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"/>
|
||||
</set>
|
||||
|
||||
</class>
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
column="MINDMAP_ID"
|
||||
not-null="true"
|
||||
class="com.wisemapping.model.MindMap"
|
||||
/>
|
||||
/>
|
||||
|
||||
<many-to-one name="collaborator"
|
||||
column="COLABORATOR_ID"
|
||||
|
Reference in New Issue
Block a user