------------------------------------------------------------ revno: 1224 committer: Tran Thanh Tri <Tran Thanh t...@compaq> branch nick: trunk timestamp: Mon 2009-12-14 15:26:13 +0700 message: small fixed excel reporting modified: dhis-2/dhis-services/dhis-service-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/hibernate/ReportExcel.hbm.xml dhis-2/dhis-services/dhis-service-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/hibernate/ReportExcelItem.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-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/hibernate/ReportExcel.hbm.xml' --- dhis-2/dhis-services/dhis-service-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/hibernate/ReportExcel.hbm.xml 2009-12-02 07:53:16 +0000 +++ dhis-2/dhis-services/dhis-service-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/hibernate/ReportExcel.hbm.xml 2009-12-14 08:26:13 +0000 @@ -15,7 +15,7 @@ <property name="organisationColumn" column="organisationcolumn" /> <property name="group" column="reportgroup" not-null="true"/> - <set name="reportExcelItems" lazy="false" cascade="all" inverse="true"> + <set name="reportExcelItems" lazy="false" cascade="all-delete-orphan" inverse="true"> <key column="reportexcelid" /> <one-to-many class="org.hisp.dhis.reportexcel.ReportExcelItem" /> </set> === modified file 'dhis-2/dhis-services/dhis-service-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/hibernate/ReportExcelItem.hbm.xml' --- dhis-2/dhis-services/dhis-service-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/hibernate/ReportExcelItem.hbm.xml 2009-11-09 05:52:46 +0000 +++ dhis-2/dhis-services/dhis-service-excel-reporting/src/main/resources/org/hisp/dhis/reportexcel/hibernate/ReportExcelItem.hbm.xml 2009-12-14 08:26:13 +0000 @@ -11,7 +11,7 @@ <properties name="name" unique="true"> <property name="name" not-null="true"/> <property name="sheetNo" column="sheetno" not-null="true"/> - <many-to-one name="reportExcel" column="reportexcelid" + <many-to-one name="reportExcel" column="reportexcelid" class="org.hisp.dhis.reportexcel.ReportExcel" foreign-key="pk_reportitem_report" lazy="false"/> </properties>
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

