增加Gbase8s驱动支持

This commit is contained in:
Looly
2025-08-18 10:23:43 +08:00
parent 010393653d
commit 4289a2658a
3 changed files with 10 additions and 1 deletions

View File

@@ -173,6 +173,9 @@ public class DialectFactory implements DriverNamePool {
} else if (nameContainsProductInfo.contains("sap")) {
// sap hana
driver = DRIVER_HANA;
} else if (nameContainsProductInfo.contains("gbasedbt-sqli")) {
// Gbase8shttps://www.gbase.cn/community/post/4029
driver = DRIVER_GBASE8S;
}
return driver;

View File

@@ -104,6 +104,11 @@ public interface DriverNamePool {
* JDBC 驱动 南大通用
*/
String DRIVER_GBASE = "com.gbase.jdbc.Driver";
/**
* JDBC 驱动 南大通用8S<br>
* 见https://www.gbase.cn/community/post/4029
*/
String DRIVER_GBASE8S = "com.gbasedbt.jdbc.Driver";
/**
* JDBC 驱动 神州数据库
*/