This commit is contained in:
Looly 2024-05-14 09:50:01 +08:00
parent ec3ac96fdf
commit a22235e8af
2 changed files with 5 additions and 3 deletions

View File

@ -20,6 +20,7 @@
* 【db 】 增加OceanBase的driver推断pr#1217@Gitee
* 【http 】 HttpRequest#get不再尝试File路径issue#I9O6DA@Gitee
* 【core 】 增加IdConstants提高Snowflake初始化性能issue#3581@Github
* 【core 】 优化 CharSequenceUtil工具类 startWithAny()、startWithAnyIgnoreCase() 参数命名错误问题pr#1219@Gitee
### 🐞Bug修复
* 【http 】 修复HttpUtil.urlWithFormUrlEncoded方法重复编码问题issue#3536@Github
@ -38,6 +39,7 @@
* 【db 】 修复FuncComparator.thenComparing不生效问题issue#3569@Github
* 【core 】 修复EnumUtil空指针问题issue#I9NSZ4@Gitee
* 【core 】 修复NumberWordFormatter.format小数问题issue#3579@Github
* 【db 】 修复JndiDSFactory空指针问题
-------------------------------------------------------------------------------------------------------------
# 5.8.27(2024-03-29)

View File

@ -15,13 +15,13 @@ import cn.hutool.setting.Setting;
* [group]<br>
* jndi = jdbc/TestDB<br>
* ---------------------<br>
*
*
* @author Looly
*
*/
public class JndiDSFactory extends AbstractDSFactory {
private static final long serialVersionUID = 1573625812927370432L;
public static final String DS_NAME = "JNDI DataSource";
public JndiDSFactory() {
@ -29,7 +29,7 @@ public class JndiDSFactory extends AbstractDSFactory {
}
public JndiDSFactory(Setting setting) {
super(DS_NAME, null, setting);
super(DS_NAME, DataSource.class, setting);
}
@Override