Update JdbcUtils.java

This commit is contained in:
wl861106
2022-04-14 14:36:17 +08:00
committed by GitHub
parent 2818800978
commit e300bfa98b
@@ -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);
}