dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16761
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6457: Setting fetch size for jdbc template
------------------------------------------------------------
revno: 6457
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2012-03-31 17:08:23 +0200
message:
Setting fetch size for jdbc template
modified:
dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/META-INF/dhis/beans.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-support/dhis-support-hibernate/src/main/resources/META-INF/dhis/beans.xml'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/META-INF/dhis/beans.xml 2012-03-12 20:25:54 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/META-INF/dhis/beans.xml 2012-03-31 15:08:23 +0000
@@ -62,6 +62,7 @@
<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
<property name="dataSource" ref="dataSource" />
+ <property name="fetchSize" value="1000" />
</bean>
<bean id="driverClass" class="org.hisp.dhis.hibernate.ConnectionPropertyFactoryBean">