dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #32970
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16774: set fetch="join" to fix the problem with lazy initialize recipient in OutboundSms.hbm.xml
------------------------------------------------------------
revno: 16774
committer: Long Ngo Thanh <thanhlongngo1988@xxxxxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-09-23 10:23:50 +0700
message:
set fetch="join" to fix the problem with lazy initialize recipient in OutboundSms.hbm.xml
modified:
dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/sms/hibernate/OutboundSms.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/sms/hibernate/OutboundSms.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/sms/hibernate/OutboundSms.hbm.xml 2014-09-19 12:49:35 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/sms/hibernate/OutboundSms.hbm.xml 2014-09-23 03:23:50 +0000
@@ -10,7 +10,7 @@
<generator class="native" />
</id>
- <set name="recipients" table="outbound_sms_recipients">
+ <set name="recipients" table="outbound_sms_recipients" fetch="join">
<key column="outbound_sms_id" />
<element type="text"/>
</set>