dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #00237
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 78: Update many-to-many of Legend & LegendSet, delete table legendsets & legendsetindicators first
------------------------------------------------------------
revno: 78
committer: Tran Thanh Tri <Tran Thanh Tri@compaq>
branch nick: trunk
timestamp: Wed 2009-03-18 01:03:47 +0700
message:
Update many-to-many of Legend & LegendSet, delete table legendsets & legendsetindicators first
modified:
dhis-2/dhis-services/dhis-service-gis/src/main/resources/org/hisp/dhis/gis/hibernate/LegendSet.hbm.xml
=== modified file 'dhis-2/dhis-services/dhis-service-gis/src/main/resources/org/hisp/dhis/gis/hibernate/LegendSet.hbm.xml'
--- dhis-2/dhis-services/dhis-service-gis/src/main/resources/org/hisp/dhis/gis/hibernate/LegendSet.hbm.xml 2009-03-03 16:46:36 +0000
+++ dhis-2/dhis-services/dhis-service-gis/src/main/resources/org/hisp/dhis/gis/hibernate/LegendSet.hbm.xml 2009-03-17 18:03:47 +0000
@@ -11,18 +11,17 @@
<property name="name" not-null="true"/>
- <list name="legends">
+ <list name="legends" table="legendsetmembers">
<key column="legendsetid"></key>
<list-index column="legendindex" base="0"/>
- <one-to-many class="org.hisp.dhis.gis.Legend"/>
+ <many-to-many class="org.hisp.dhis.gis.Legend" column="legendid"/>
</list>
-
+
<set name="indicators" table="legendsetindicators">
<key column="legendsetid"></key>
<many-to-many class="org.hisp.dhis.indicator.Indicator" column="indicatorid"/>
</set>
- <!-- many-to-one name="indicator" class="org.hisp.dhis.indicator.Indicator" column="indicatorid" unique="true"/-->
-
+
</class>
</hibernate-mapping>
\ No newline at end of file
--
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.