mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Pogress SQL fix.
This commit is contained in:
parent
b9748ca23a
commit
46264991b9
@ -11,7 +11,7 @@
|
||||
</id>
|
||||
<property name="loginDate" column="login_Date"/>
|
||||
<many-to-one name="user"
|
||||
column="USER_ID"
|
||||
column="user_id"
|
||||
not-null="true"
|
||||
class="com.wisemapping.model.User"
|
||||
/>
|
||||
|
@ -10,17 +10,17 @@
|
||||
<generator class="increment"/>
|
||||
</id>
|
||||
|
||||
<property name="roleId" column="ROLE_ID" unique="true" not-null="true"/>
|
||||
<property name="roleId" column="role_id" unique="true" not-null="true"/>
|
||||
|
||||
<!-- Read-only association property -->
|
||||
<many-to-one name="mindMap"
|
||||
column="MINDMAP_ID"
|
||||
column="mindmap_id"
|
||||
not-null="true"
|
||||
class="com.wisemapping.model.Mindmap"
|
||||
/>
|
||||
|
||||
<many-to-one name="collaborator"
|
||||
column="COLABORATOR_ID"
|
||||
column="colaborator_id"
|
||||
not-null="true"
|
||||
class="com.wisemapping.model.Collaborator"
|
||||
/>
|
||||
|
@ -15,12 +15,12 @@
|
||||
<set name="collaborations"
|
||||
cascade="all, delete-orphan"
|
||||
inverse="true">
|
||||
<key column="COLABORATOR_ID" not-null="true"/>
|
||||
<key column="colaborator_id" not-null="true"/>
|
||||
<one-to-many class="com.wisemapping.model.Collaboration"/>
|
||||
</set>
|
||||
|
||||
<joined-subclass name="com.wisemapping.model.User" table="USER">
|
||||
<key column="COLABORATOR_ID"/>
|
||||
<key column="colaborator_id"/>
|
||||
<property name="firstname"/>
|
||||
<property name="lastname"/>
|
||||
<property name="password"/>
|
||||
|
@ -11,7 +11,7 @@
|
||||
</id>
|
||||
|
||||
<property name="mindmapId" column="mindmap_id"/>
|
||||
<property name="xml" column="XML"/>
|
||||
<property name="xml" column="xml"/>
|
||||
<property name="creationTime" column="creation_date"/>
|
||||
<many-to-one name="editor" column="editor_id" unique="false" not-null="false" lazy="proxy"/>
|
||||
</class>
|
||||
|
@ -22,7 +22,7 @@
|
||||
<set name="collaborations"
|
||||
cascade="all,delete-orphan,save-update"
|
||||
inverse="true">
|
||||
<key column="MINDMAP_ID" not-null="true"/>
|
||||
<key column="mindmap_id" not-null="true"/>
|
||||
<one-to-many class="com.wisemapping.model.Collaboration"/>
|
||||
</set>
|
||||
</class>
|
||||
|
Loading…
Reference in New Issue
Block a user