|
|
|
@ -401,7 +401,12 @@ public final class JdbcUtils implements JdbcConstants {
|
|
|
|
|
} else if (rawUrl.startsWith("jdbc:odps:")) { |
|
|
|
|
return ODPS_DRIVER; |
|
|
|
|
} else if (rawUrl.startsWith("jdbc:hsqldb:")) { |
|
|
|
|
return "org.hsqldb.jdbcDriver"; |
|
|
|
|
try { |
|
|
|
|
Class.forName("com.fr.third.org.hsqldb.jdbcDriver"); |
|
|
|
|
return "com.fr.third.org.hsqldb.jdbcDriver"; |
|
|
|
|
} catch (Throwable ignore) { |
|
|
|
|
return "org.hsqldb.jdbcDriver"; |
|
|
|
|
} |
|
|
|
|
} else if (rawUrl.startsWith("jdbc:db2:")) { |
|
|
|
|
return DB2_DRIVER; |
|
|
|
|
} else if (rawUrl.startsWith("jdbc:sqlite:")) { |
|
|
|
|