mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
update beeCP
This commit is contained in:
parent
2484c82584
commit
825c55a2e2
@ -3,7 +3,7 @@
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
# 5.6.2 (2021-03-26)
|
||||
# 5.6.2 (2021-03-28)
|
||||
|
||||
### 新特性
|
||||
* 【core 】 Validator增加车架号(车辆识别码)验证、驾驶证(驾驶证档案编号)的正则校验(pr#280@Gitee)
|
||||
@ -13,6 +13,7 @@
|
||||
* 【core 】 增加DateTime字符串构造(issue#I3CQZG@Gitee)
|
||||
* 【core 】 修改ArrayUtil代码风格(pr#287@Gitee)
|
||||
* 【json 】 JSONConfig增加setStripTrailingZeros配置(issue#I3DJI8@Gitee)
|
||||
* 【db 】 升级兼容BeeCP3.x
|
||||
|
||||
### Bug修复
|
||||
* 【core 】 修复FileTypeUtil中OFD格式判断问题(pr#1489@Github)
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user