mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
@@ -360,8 +360,7 @@ public final class JdbcUtils implements JdbcConstants {
|
||||
} else if (rawUrl.startsWith("jdbc:mariadb:")) {
|
||||
return MARIADB_DRIVER;
|
||||
} else if (rawUrl.startsWith("jdbc:oracle:") //
|
||||
|| rawUrl.startsWith("JDBC:oracle:")
|
||||
) {
|
||||
|| rawUrl.startsWith("JDBC:oracle:")) {
|
||||
return ORACLE_DRIVER;
|
||||
} else if (rawUrl.startsWith("jdbc:alibaba:oracle:")) {
|
||||
return ALI_ORACLE_DRIVER;
|
||||
@@ -425,7 +424,7 @@ public final class JdbcUtils implements JdbcConstants {
|
||||
|
||||
if (rawUrl.startsWith("jdbc:derby:")) {
|
||||
return DERBY;
|
||||
} else if (rawUrl.startsWith("jdbc:mysql:")) {
|
||||
} else if (rawUrl.startsWith("jdbc:mysql:") || rawUrl.startsWith("jdbc:cobar:")) {
|
||||
return MYSQL;
|
||||
} else if (rawUrl.startsWith("jdbc:log4jdbc:")) {
|
||||
return LOG4JDBC;
|
||||
|
||||
Reference in New Issue
Block a user