|
|
@@ -63,8 +63,8 @@ public class DruidDBConfiguration {
|
|
|
@Value("${datasource.testOnReturn}")
|
|
|
private boolean testOnReturn;
|
|
|
|
|
|
- @Value("${datasource.timeBetweenLogStatsMillis}")
|
|
|
- private int timeBetweenLogStatsMillis;
|
|
|
+// @Value("${datasource.timeBetweenLogStatsMillis}")
|
|
|
+// private int timeBetweenLogStatsMillis;
|
|
|
|
|
|
@Value("${datasource.poolPreparedStatements}")
|
|
|
private boolean poolPreparedStatements;
|
|
|
@@ -99,7 +99,7 @@ public class DruidDBConfiguration {
|
|
|
dataSource.setTestWhileIdle(testWhileIdle);
|
|
|
dataSource.setTestOnBorrow(testOnBorrow);
|
|
|
dataSource.setTestOnReturn(testOnReturn);
|
|
|
- dataSource.setTimeBetweenLogStatsMillis(timeBetweenLogStatsMillis);
|
|
|
+// dataSource.setTimeBetweenLogStatsMillis(timeBetweenLogStatsMillis);
|
|
|
dataSource.setPoolPreparedStatements(poolPreparedStatements);
|
|
|
dataSource.setMaxPoolPreparedStatementPerConnectionSize(maxPoolPreparedStatementPerConnectionSize);
|
|
|
try {
|