mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
update beeCP
This commit is contained in:
@@ -79,8 +79,8 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.chris2018998</groupId>
|
||||
<artifactId>BeeCP</artifactId>
|
||||
<version>2.5.3</version>
|
||||
<artifactId>beecp</artifactId>
|
||||
<version>3.1.2</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
|
@@ -10,7 +10,7 @@ import javax.sql.DataSource;
|
||||
|
||||
/**
|
||||
* BeeCP数据源工厂类
|
||||
*
|
||||
*
|
||||
* @author Looly
|
||||
*
|
||||
*/
|
||||
@@ -33,11 +33,6 @@ public class BeeDSFactory extends AbstractDSFactory {
|
||||
final BeeDataSourceConfig beeConfig = new BeeDataSourceConfig(driver, jdbcUrl, user, pass);
|
||||
poolSetting.toBean(beeConfig);
|
||||
|
||||
// 修复BeeCP默认参数无效问题
|
||||
if(beeConfig.getBorrowConcurrentSize() > beeConfig.getMaxActive()){
|
||||
beeConfig.setMaxActive(beeConfig.getBorrowConcurrentSize() + 1);
|
||||
}
|
||||
|
||||
// remarks等特殊配置,since 5.3.8
|
||||
String connValue;
|
||||
for (String key : KEY_CONN_PROPS) {
|
||||
|
Reference in New Issue
Block a user