dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16437
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6254: Removed unnecessary lazy=false definition on User
------------------------------------------------------------
revno: 6254
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-03-12 22:35:41 +0100
message:
Removed unnecessary lazy=false definition on User
modified:
dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/User.hbm.xml
dhis-2/dhis-services/dhis-service-reporting/src/main/resources/org/hisp/dhis/dashboard/hibernate/DashboardContent.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/User.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/User.hbm.xml 2011-12-13 18:41:43 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/user/hibernate/User.hbm.xml 2012-03-12 21:35:41 +0000
@@ -4,7 +4,7 @@
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
- <class name="org.hisp.dhis.user.User" lazy="false" table="userinfo">
+ <class name="org.hisp.dhis.user.User" table="userinfo">
<cache usage="read-write" />
=== modified file 'dhis-2/dhis-services/dhis-service-reporting/src/main/resources/org/hisp/dhis/dashboard/hibernate/DashboardContent.hbm.xml'
--- dhis-2/dhis-services/dhis-service-reporting/src/main/resources/org/hisp/dhis/dashboard/hibernate/DashboardContent.hbm.xml 2011-05-28 21:25:46 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/main/resources/org/hisp/dhis/dashboard/hibernate/DashboardContent.hbm.xml 2012-03-12 21:35:41 +0000
@@ -14,7 +14,7 @@
</generator>
</id>
- <one-to-one name="user" class="org.hisp.dhis.user.User" constrained="true" />
+ <one-to-one name="user" class="org.hisp.dhis.user.User" constrained="true" foreign-key="fk_dashboardcontent_userinfoid" />
<list name="reports" table="dashboardcontent_reports">
<key column="userid" foreign-key="fk_dashboardcontent_reports_userid" />