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