mirror of
https://gitee.com/dromara/hutool.git
synced 2025-06-28 13:34:09 +08:00
AbstractDb增加getDs方法
This commit is contained in:
parent
42f2ff1440
commit
30f52352a4
@ -2,7 +2,7 @@
|
||||
# 🚀Changelog
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
# 5.8.33(2024-09-14)
|
||||
# 5.8.33(2024-09-18)
|
||||
|
||||
### 🐣新特性
|
||||
* 【core 】 SyncFinisher增加setExecutorService方法(issue#IANKQ1@Gitee)
|
||||
@ -12,6 +12,7 @@
|
||||
* 【core 】 兼容NumberUtil.add方法传入整型自动类型转换为浮点类型的精度丢失问题(pr#3721@Github)
|
||||
* 【core 】 ModifierUtil明确注释,并增加hasAllModifiers方法(issue#IAQ2U0@Gitee)
|
||||
* 【http 】 HttpRequest增加setFixedContentLength方法(issue#3462@Github)
|
||||
* 【db 】 AbstractDb增加getDs方法(issue#IARKZL@Gitee)
|
||||
|
||||
### 🐞Bug修复
|
||||
* 【json 】 修复JSONConfig.setDateFormat设置后toBean无效问题(issue#3713@Github)
|
||||
|
@ -57,6 +57,16 @@ public abstract class AbstractDb implements Serializable {
|
||||
}
|
||||
// ------------------------------------------------------- Constructor end
|
||||
|
||||
/**
|
||||
* 获得数据源
|
||||
*
|
||||
* @return 数据源
|
||||
* @since 5.8.33
|
||||
*/
|
||||
public DataSource getDs() {
|
||||
return ds;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获得链接。根据实现不同,可以自定义获取连接的方式
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user