修复Hive2驱动无法识别问题

This commit is contained in:
Looly 2022-09-13 23:13:55 +08:00
parent 5bd118c636
commit 576d9c28a2
2 changed files with 3 additions and 0 deletions

View File

@ -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
-------------------------------------------------------------------------------------------------------------

View File

@ -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")) {