← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2419: Removed unnecessary transactions for resource table generation

 

------------------------------------------------------------
revno: 2419
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2010-10-22 17:34:54 +0200
message:
  Removed unnecessary transactions for resource table generation
modified:
  dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/DefaultResourceTableService.java


--
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-administration/src/main/java/org/hisp/dhis/resourcetable/DefaultResourceTableService.java'
--- dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/DefaultResourceTableService.java	2010-09-16 08:49:51 +0000
+++ dhis-2/dhis-services/dhis-service-administration/src/main/java/org/hisp/dhis/resourcetable/DefaultResourceTableService.java	2010-10-22 15:34:54 +0000
@@ -63,7 +63,6 @@
 import org.hisp.dhis.resourcetable.statement.CreateDataElementGroupSetTableStatement;
 import org.hisp.dhis.resourcetable.statement.CreateIndicatorGroupSetTableStatement;
 import org.hisp.dhis.resourcetable.statement.CreateOrganisationUnitGroupSetTableStatement;
-import org.springframework.transaction.annotation.Transactional;
 
 /**
  * @author Lars Helge Overland
@@ -130,7 +129,6 @@
     // OrganisationUnitStructure
     // -------------------------------------------------------------------------
 
-    @Transactional
     public void generateOrganisationUnitStructures()
     {
         resourceTableStore.createOrganisationUnitStructure();
@@ -183,7 +181,6 @@
     // DataElementCategoryOptionComboName
     // -------------------------------------------------------------------------
 
-    @Transactional
     public void generateCategoryOptionComboNames()
     {
         resourceTableStore.createDataElementCategoryOptionComboName();