update mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/DbTypeUtil.java.

修复根据人大金仓url识别错误类型的bug

Signed-off-by: younger <1095367863@qq.com>
This commit is contained in:
younger 2025-11-10 10:28:26 +00:00 committed by Gitee
parent 25e00c677e
commit 61857a00fe
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -185,7 +185,7 @@ public class DbTypeUtil {
return DbType.IMPALA;
} else if (jdbcUrl.contains(":informix")) {
return DbType.INFORMIX;
} else if (jdbcUrl.contains(":kingbase\\d*:") && isMatchedRegex(":kingbase\\d*:", jdbcUrl)) {
} else if (isMatchedRegex(":kingbase\\d*:", jdbcUrl)) {
return DbType.KINGBASE_ES;
} else if (jdbcUrl.contains(":lealone:")) {
return DbType.LEALONE;