This commit is contained in:
Looly 2022-01-15 13:26:56 +08:00
parent 8e67251fd3
commit da4d64fcbc
2 changed files with 7 additions and 0 deletions

View File

@ -149,6 +149,9 @@ public class DialectFactory implements DriverNamePool{
} else if (nameContainsProductInfo.contains("sybase")) {
// 神州数据库
driver = DRIVER_SYBASE;
} else if (nameContainsProductInfo.contains("xugu")) {
// 虚谷数据库
driver = DRIVER_XUGO;
}
return driver;

View File

@ -108,5 +108,9 @@ public interface DriverNamePool {
* JDBC 驱动 Sybase
*/
String DRIVER_SYBASE = "com.sybase.jdbc4.jdbc.SybDriver";
/**
* JDBC 驱动 虚谷
*/
String DRIVER_XUGO = "com.xugu.cloudjdbc.Driver";
}