dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #36338
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18608: Caching of user group members
------------------------------------------------------------
revno: 18608
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-03-16 12:09:42 +0100
message:
Caching of user group members
modified:
dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/UserGroup.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/UserGroup.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/UserGroup.hbm.xml 2014-12-09 02:51:54 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/UserGroup.hbm.xml 2015-03-16 11:09:42 +0000
@@ -18,6 +18,7 @@
<property name="name" column="name" not-null="true" unique="false" length="230" />
<set name="members" table="usergroupmembers">
+ <cache usage="read-write" />
<key column="usergroupid" foreign-key="fk_usergroupmembers_usergroupid" />
<many-to-many column="userid" class="org.hisp.dhis.user.User" foreign-key="fk_usergroupmembers_userid" />
</set>