dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #09223
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2391: Forgot hibernate mapping
------------------------------------------------------------
revno: 2391
committer: Jo Størset <storset@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2010-12-16 23:30:36 +0530
message:
Forgot hibernate mapping
removed:
dhis-mobile/dhis-service-mobile/src/main/resources/org/hisp/dhis/user/
dhis-mobile/dhis-service-mobile/src/main/resources/org/hisp/dhis/user/hibernate/
dhis-mobile/dhis-service-mobile/src/main/resources/org/hisp/dhis/user/hibernate/UserGroup.hbm.xml
added:
dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/UserGroup.hbm.xml
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== added file 'dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/UserGroup.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/UserGroup.hbm.xml 1970-01-01 00:00:00 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/UserGroup.hbm.xml 2010-12-16 18:00:36 +0000
@@ -0,0 +1,22 @@
+<?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="org.hisp.dhis.user.UserGroup" table="usergroup">
+
+ <id name="id" column="usergroupid">
+ <generator class="native"/>
+ </id>
+
+ <property name="name" not-null="true" unique="true" length="230"/>
+
+ <set name="members" table="usergroupmembers">
+ <key column="usergroupid"/>
+ <many-to-many column="userid"
+ class="org.hisp.dhis.user.User" foreign-key="fk_usergroup_userid" />
+ </set>
+
+ </class>
+</hibernate-mapping>
=== removed directory 'dhis-mobile/dhis-service-mobile/src/main/resources/org/hisp/dhis/user'
=== removed directory 'dhis-mobile/dhis-service-mobile/src/main/resources/org/hisp/dhis/user/hibernate'
=== removed file 'dhis-mobile/dhis-service-mobile/src/main/resources/org/hisp/dhis/user/hibernate/UserGroup.hbm.xml'
--- dhis-mobile/dhis-service-mobile/src/main/resources/org/hisp/dhis/user/hibernate/UserGroup.hbm.xml 2010-10-14 10:44:34 +0000
+++ dhis-mobile/dhis-service-mobile/src/main/resources/org/hisp/dhis/user/hibernate/UserGroup.hbm.xml 1970-01-01 00:00:00 +0000
@@ -1,22 +0,0 @@
-<?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="org.hisp.dhis.user.UserGroup" table="usergroup">
-
- <id name="id" column="usergroupid">
- <generator class="native"/>
- </id>
-
- <property name="name" not-null="true" unique="true" length="230"/>
-
- <set name="members" table="usergroupmembers">
- <key column="usergroupid"/>
- <many-to-many column="userid"
- class="org.hisp.dhis.user.User" foreign-key="fk_usergroup_userid" />
- </set>
-
- </class>
-</hibernate-mapping>