配置和apache dbcp一致

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@5 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-05-11 02:48:31 +00:00
parent 14862fef39
commit 03bee022af
12 changed files with 89 additions and 32 deletions
@@ -41,10 +41,10 @@ public class ConcurrentTest extends TestCase {
dataSource.setMinIdle(minPoolSize);
dataSource.setMaxIdle(maxPoolSize);
dataSource.setPoolPreparedStatements(true);
dataSource.setDriverClass(driverClass);
dataSource.setDriverClassName(driverClass);
dataSource.setUrl(jdbcUrl);
dataSource.setPoolPreparedStatements(true);
dataSource.setUser(user);
dataSource.setUsername(user);
dataSource.setPassword(password);
final int THREAD_COUNT = 2;