dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24719
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12167: MapView, added user and org unit group hibernate mapping
------------------------------------------------------------
revno: 12167
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-09-19 14:56:27 +0200
message:
MapView, added user and org unit group hibernate mapping
modified:
dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/mapping/hibernate/MapView.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
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/mapping/hibernate/MapView.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/mapping/hibernate/MapView.hbm.xml 2013-09-17 16:22:09 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/mapping/hibernate/MapView.hbm.xml 2013-09-19 12:56:27 +0000
@@ -69,6 +69,18 @@
<element column="orgunitlevel" type="integer" />
</list>
+ <list name="itemOrganisationUnitGroups" table="mapview_itemorgunitgroups">
+ <cache usage="read-write" />
+ <key column="mapviewid" foreign-key="fk_mapview_itemorgunitunitgroups_mapviewid" />
+ <list-index column="sort_order" base="0" />
+ <many-to-many column="orgunitgroupid" class="org.hisp.dhis.organisationunit.OrganisationUnitGroup"
+ foreign-key="fk_mapview_itemorgunitgroups_orgunitgroupid" />
+ </list>
+
+ <property name="userOrganisationUnit" />
+
+ <property name="userOrganisationUnitChildren" />
+
<property name="legendType" />
<property name="method" />