mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Update JdbcUtils.java
This commit is contained in:
@@ -529,6 +529,8 @@ public final class JdbcUtils implements JdbcConstants {
|
||||
return "com.highgo.jdbc.Driver";
|
||||
} else if (rawUrl.startsWith("jdbc:oscar")) {
|
||||
return JdbcConstants.OSCAR_DRIVER;
|
||||
} else if (rawUrl.startsWith("jdbc:dbcp:")) {
|
||||
return JdbcConstants.TYDB_DRIVER;
|
||||
} else {
|
||||
throw new SQLException("unknown jdbc driver : " + rawUrl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user