Hi, Just wandering has anyone done batch updating using org.springframework.orm.ibatis.support.SqlMapClientDaoSupport
using the Spring framework??
I am interested to use Spring to define transactions for methods invoked via SqlMapClientDaoSupport as below <!-- Transaction template for Managers, from: http://blog.exis.com/colin/archives/2004/07/31/concise-transaction-definitions-spring-11/ --> <bean id="txProxyTemplate" abstract="true" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> <property name="transactionManager" ref="transactionManager"/> <property name="transactionAttributes"> <props> <prop key="save*">PROPAGATION_REQUIRED</prop> <prop key="remove*">PROPAGATION_REQUIRED</prop> <prop key="*">PROPAGATION_REQUIRED,readOnly</prop> </props> </property> </bean> Can batch update be done like this and have same performance boost as manul batch update or do I have to result to manul batch update as in http://www.mail-archive.com/[email protected]/msg04760.html to achieve that performance? Thanks, Sam
|
- batch update using SqlMapClientDaoSupport from Spring Dodo
-