mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
修复Hive2驱动无法识别问题
This commit is contained in:
parent
5bd118c636
commit
576d9c28a2
@ -10,6 +10,7 @@
|
||||
* 【jwt 】 优化JWT自动识别header中的算法,并可自定义header中key的顺序(issue#I5QRUO@Gitee)
|
||||
### 🐞Bug修复
|
||||
* 【core 】 修复ObjectUtil.defaultIfXXX中NPE问题(pr#2603@Github)
|
||||
* 【db 】 修复Hive2驱动无法识别问题(issue#2606@Github)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -103,6 +103,8 @@ public class DialectFactory implements DriverNamePool{
|
||||
driver = DRIVER_SQLLITE3;
|
||||
} else if (nameContainsProductInfo.contains("sqlserver") || nameContainsProductInfo.contains("microsoft")) {
|
||||
driver = DRIVER_SQLSERVER;
|
||||
} else if (nameContainsProductInfo.contains("hive2")) {
|
||||
driver = DRIVER_HIVE2;
|
||||
} else if (nameContainsProductInfo.contains("hive")) {
|
||||
driver = DRIVER_HIVE;
|
||||
} else if (nameContainsProductInfo.contains("h2")) {
|
||||
|
Loading…
Reference in New Issue
Block a user