mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
!900 修复通过jdbcurl创建SimpleDataSource报NullPointException
Merge pull request !900 from Tom Xin/v5-dev-fix-create-mariadb-datasource
This commit is contained in:
commit
0831176af6
@ -164,6 +164,8 @@ public class DialectFactory implements DriverNamePool {
|
|||||||
} else if (nameContainsProductInfo.contains("xugu")) {
|
} else if (nameContainsProductInfo.contains("xugu")) {
|
||||||
// 虚谷数据库
|
// 虚谷数据库
|
||||||
driver = DRIVER_XUGO;
|
driver = DRIVER_XUGO;
|
||||||
|
}else if (nameContainsProductInfo.contains("mariadb")) {
|
||||||
|
driver = DRIVER_MARIADB;
|
||||||
}
|
}
|
||||||
|
|
||||||
return driver;
|
return driver;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user