mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fixed testcase
This commit is contained in:
@@ -357,6 +357,10 @@ public final class JdbcUtils implements JdbcConstants {
|
||||
}
|
||||
|
||||
public static String getDriverClassName(String rawUrl) throws SQLException {
|
||||
if (rawUrl == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (rawUrl.startsWith("jdbc:derby:")) {
|
||||
return "org.apache.derby.jdbc.EmbeddedDriver";
|
||||
} else if (rawUrl.startsWith("jdbc:mysql:")) {
|
||||
|
||||
Reference in New Issue
Block a user