feat(接口测试): 支持 Oracle

This commit is contained in:
chenjianxing 2020-09-17 15:11:00 +08:00
parent d4439f01ad
commit e1eba35e13
2 changed files with 6 additions and 1 deletions

View File

@ -183,6 +183,11 @@
<version>42.2.14</version>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>19.7.0.0</version>
</dependency>
<!-- Zookeeper -->
<dependency>

View File

@ -546,7 +546,7 @@ export class ConfigCenter extends BaseConfig {
}
export class DatabaseConfig extends BaseConfig {
static DRIVER_CLASS = ["com.mysql.jdbc.Driver", "com.microsoft.sqlserver.jdbc.SQLServerDriver", "org.postgresql.Driver"];
static DRIVER_CLASS = ["com.mysql.jdbc.Driver", "com.microsoft.sqlserver.jdbc.SQLServerDriver", "org.postgresql.Driver", "oracle.jdbc.OracleDriver"];
constructor(options) {
super();