mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
add opengauss
This commit is contained in:
parent
27f58fb91d
commit
f58625b144
@ -176,6 +176,9 @@ public class DialectFactory implements DriverNamePool {
|
||||
} else if (nameContainsProductInfo.contains("sybase")) {
|
||||
// Sybase
|
||||
driver = DRIVER_SYBASE;
|
||||
} else if (nameContainsProductInfo.contains("opengauss")) {
|
||||
// OpenGauss
|
||||
driver = DRIVER_OPENGAUSS;
|
||||
}
|
||||
|
||||
return driver;
|
||||
|
@ -120,5 +120,9 @@ public interface DriverNamePool {
|
||||
* JDBC 驱动 Sybase
|
||||
*/
|
||||
String DRIVER_SYBASE = "com.sybase.jdbc4.jdbc.SybDriver";
|
||||
/**
|
||||
* JDBC 驱动 OpenGauss
|
||||
*/
|
||||
String DRIVER_OPENGAUSS = "org.opengauss.Driver";
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user