RESOLVED - issue BATCH-1406: Avoid deadlock with database pool and multithreaded step when throttle limit is too high.

This commit is contained in:
dsyer
2009-09-16 16:54:45 +00:00
parent cd22ad3ffc
commit 0f5d1f2ded
6 changed files with 191 additions and 41 deletions

View File

@@ -10,9 +10,11 @@
</list>
</property>
</bean>
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName" value="org.hsqldb.jdbcDriver" />
<property name="url" value="jdbc:hsqldb:mem:testdb;sql.enforce_strict_size=true" />
<property name="username" value="sa" />
<property name="password" value="" />
</bean>
<bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource" />