mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
support EnterpriseDB.
This commit is contained in:
@@ -89,6 +89,6 @@ public interface JdbcConstants {
|
||||
public static final String PHOENIX = "phoenix";
|
||||
public static final String PHOENIX_DRIVER = "org.apache.phoenix.jdbc.PhoenixDriver";
|
||||
|
||||
public static final String ENTERPRISE_DB = "edb";
|
||||
public static final String ENTERPRISE_DB_DRIVER = "com.edb.Driver";
|
||||
public static final String ENTERPRISEDB = "edb";
|
||||
public static final String ENTERPRISEDB_DRIVER = "com.edb.Driver";
|
||||
}
|
||||
|
||||
@@ -397,7 +397,7 @@ public final class JdbcUtils implements JdbcConstants {
|
||||
} else if (rawUrl.startsWith("jdbc:postgresql:")) {
|
||||
return POSTGRESQL_DRIVER;
|
||||
} else if (rawUrl.startsWith("jdbc:edb:")) {
|
||||
return ENTERPRISE_DB_DRIVER;
|
||||
return ENTERPRISEDB_DRIVER;
|
||||
} else if (rawUrl.startsWith("jdbc:odps:")) {
|
||||
return ODPS_DRIVER;
|
||||
} else if (rawUrl.startsWith("jdbc:hsqldb:")) {
|
||||
@@ -482,7 +482,7 @@ public final class JdbcUtils implements JdbcConstants {
|
||||
} else if (rawUrl.startsWith("jdbc:postgresql:") || rawUrl.startsWith("jdbc:log4jdbc:postgresql:")) {
|
||||
return POSTGRESQL;
|
||||
} else if (rawUrl.startsWith("jdbc:edb:")) {
|
||||
return ENTERPRISE_DB;
|
||||
return ENTERPRISEDB;
|
||||
} else if (rawUrl.startsWith("jdbc:hsqldb:") || rawUrl.startsWith("jdbc:log4jdbc:hsqldb:")) {
|
||||
return HSQL;
|
||||
} else if (rawUrl.startsWith("jdbc:odps:")) {
|
||||
|
||||
Reference in New Issue
Block a user