mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +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")) {
|
||||
// 虚谷数据库
|
||||
driver = DRIVER_XUGO;
|
||||
}else if (nameContainsProductInfo.contains("mariadb")) {
|
||||
driver = DRIVER_MARIADB;
|
||||
}
|
||||
|
||||
return driver;
|
||||
|
Loading…
Reference in New Issue
Block a user