← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2173: Removed unnecessary constraint on section-dataelement association

 

------------------------------------------------------------
revno: 2173
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2010-11-25 15:58:42 +0100
message:
  Removed unnecessary constraint on section-dataelement association
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataset/hibernate/Section.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/dataset/hibernate/Section.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataset/hibernate/Section.hbm.xml	2010-08-25 09:31:57 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataset/hibernate/Section.hbm.xml	2010-11-25 14:58:42 +0000
@@ -17,7 +17,7 @@
 		<key column="sectionid"/>
 		<list-index column="sort_order" base="1"/>
 		<many-to-many class="org.hisp.dhis.dataelement.DataElement" 
-          column="dataelementid" foreign-key="fk_section_dataelementid" unique="true"/>
+          column="dataelementid" foreign-key="fk_section_dataelementid"/>
 	</list> 	
 	  
 	<set name="greyedFields" table="sectiongreyedfields">