← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4096: Removed unnecessary cascade mapping for categorycombo-categoryoptioncombo

 

------------------------------------------------------------
revno: 4096
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-07-07 22:49:17 +0200
message:
  Removed unnecessary cascade mapping for categorycombo-categoryoptioncombo
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataelement/hibernate/DataElementCategoryCombo.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/dataelement/hibernate/DataElementCategoryCombo.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataelement/hibernate/DataElementCategoryCombo.hbm.xml	2011-05-28 21:25:46 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataelement/hibernate/DataElementCategoryCombo.hbm.xml	2011-07-07 20:49:17 +0000
@@ -24,7 +24,7 @@
         foreign-key="fk_categorycombo_categoryid" />
     </list>
 
-    <set name="optionCombos" table="categorycombos_optioncombos" inverse="true" cascade="all">
+    <set name="optionCombos" table="categorycombos_optioncombos" inverse="true">
       <cache usage="read-write" />
       <key column="categorycomboid" foreign-key="fk_categorycombos_optioncombos_categorycomboid" />
       <many-to-many class="org.hisp.dhis.dataelement.DataElementCategoryOptionCombo" column="categoryoptioncomboid"