dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25536
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12694: Added missing data sets association hibernate mapping to MapView
------------------------------------------------------------
revno: 12694
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-10-15 20:20:05 +0200
message:
Added missing data sets association hibernate mapping to MapView
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-10-15 18:08:15 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/mapping/hibernate/MapView.hbm.xml 2013-10-15 18:20:05 +0000
@@ -46,6 +46,14 @@
foreign-key="fk_mapview_indicators_indicatorid" />
</list>
+ <list name="dataSets" table="mapview_datasets">
+ <cache usage="read-write" />
+ <key column="mapviewid" foreign-key="fk_mapview_datasets_mapviewid" />
+ <list-index column="sort_order" base="0" />
+ <many-to-many column="datasetid" class="org.hisp.dhis.dataset.DataSet"
+ foreign-key="fk_mapview_datasets_datasetid" />
+ </list>
+
<list name="organisationUnits" table="mapview_organisationunits">
<cache usage="read-write" />
<key column="mapviewid" foreign-key="fk_mapview_organisationunits_mapviewid" />