2012-08-15 21:28:51 -03:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE hibernate-mapping PUBLIC
|
|
|
|
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
2012-11-05 00:51:06 -03:00
|
|
|
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
2012-08-15 21:28:51 -03:00
|
|
|
|
|
|
|
<hibernate-mapping>
|
|
|
|
|
|
|
|
<class name="com.wisemapping.model.Collaboration" table="COLLABORATION">
|
|
|
|
<id name="id">
|
|
|
|
<generator class="increment"/>
|
|
|
|
</id>
|
|
|
|
|
2012-11-24 14:16:49 -03:00
|
|
|
<property name="roleId" column="role_id" unique="true" not-null="true"/>
|
2012-08-15 21:28:51 -03:00
|
|
|
|
|
|
|
<!-- Read-only association property -->
|
|
|
|
<many-to-one name="mindMap"
|
2012-11-24 14:16:49 -03:00
|
|
|
column="mindmap_id"
|
2012-08-15 21:28:51 -03:00
|
|
|
not-null="true"
|
|
|
|
class="com.wisemapping.model.Mindmap"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<many-to-one name="collaborator"
|
2012-11-24 14:16:49 -03:00
|
|
|
column="colaborator_id"
|
2012-08-15 21:28:51 -03:00
|
|
|
not-null="true"
|
|
|
|
class="com.wisemapping.model.Collaborator"
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
<many-to-one name="collaborationProperties" class="com.wisemapping.model.CollaborationProperties"
|
|
|
|
column="properties_id" not-null="false" cascade="all" unique="true"/>
|
|
|
|
|
|
|
|
</class>
|
|
|
|
|
2009-06-07 18:59:43 +00:00
|
|
|
</hibernate-mapping>
|