Batch Insertions with Hibernate & Spring
问题 My application is based on Hibernate 3.2 and Spring 2.5. Here is the transaction management related snippet from the application context: <tx:annotation-driven transaction-manager="txManager"/> <bean id="txManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager"> <property name="sessionFactory" ref="sessionFactory"/> <property name="nestedTransactionAllowed" value="true"/> </bean> <bean id="transactionTemplate" classs="org.springframework.transaction.support