← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18609: Caching of UserGroupAccesses

 

------------------------------------------------------------
revno: 18609
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-03-16 12:31:46 +0100
message:
  Caching of UserGroupAccesses
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/UserGroupAccess.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/user/hibernate/UserGroupAccess.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/UserGroupAccess.hbm.xml	2013-03-01 08:36:06 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/UserGroupAccess.hbm.xml	2015-03-16 11:31:46 +0000
@@ -7,6 +7,8 @@
 <hibernate-mapping>
   <class name="org.hisp.dhis.user.UserGroupAccess" table="usergroupaccess">
 
+    <cache usage="read-write" />
+
     <id name="id" column="usergroupaccessid">
       <generator class="native" />
     </id>