|
|
@@ -64,15 +64,6 @@ public class DruidDBConfiguration {
|
|
|
@Value("${spring.datasource.testOnReturn}")
|
|
|
private boolean testOnReturn;
|
|
|
|
|
|
- @Value("${spring.datasource.removeAbandoned}")
|
|
|
- private boolean removeAbandoned;
|
|
|
-
|
|
|
- @Value("${spring.datasource.removeAbandonedTimeout}")
|
|
|
- private int removeAbandonedTimeout;
|
|
|
-
|
|
|
- @Value("${spring.datasource.logAbandoned}")
|
|
|
- private boolean logAbandoned;
|
|
|
-
|
|
|
@Value("${spring.datasource.timeBetweenLogStatsMillis}")
|
|
|
private int timeBetweenLogStatsMillis;
|
|
|
|
|
|
@@ -109,9 +100,6 @@ public class DruidDBConfiguration {
|
|
|
dataSource.setTestWhileIdle(testWhileIdle);
|
|
|
dataSource.setTestOnBorrow(testOnBorrow);
|
|
|
dataSource.setTestOnReturn(testOnReturn);
|
|
|
- dataSource.setRemoveAbandoned(removeAbandoned);
|
|
|
- dataSource.setRemoveAbandonedTimeout(removeAbandonedTimeout);
|
|
|
- dataSource.setLogAbandoned(logAbandoned);
|
|
|
dataSource.setTimeBetweenLogStatsMillis(timeBetweenLogStatsMillis);
|
|
|
dataSource.setPoolPreparedStatements(poolPreparedStatements);
|
|
|
dataSource.setMaxPoolPreparedStatementPerConnectionSize(maxPoolPreparedStatementPerConnectionSize);
|