diff --git a/fine-druid/src/com/fr/third/alibaba/druid/util/JdbcUtils.java b/fine-druid/src/com/fr/third/alibaba/druid/util/JdbcUtils.java index 4de1f1fa9..43a2755fa 100644 --- a/fine-druid/src/com/fr/third/alibaba/druid/util/JdbcUtils.java +++ b/fine-druid/src/com/fr/third/alibaba/druid/util/JdbcUtils.java @@ -407,6 +407,13 @@ public final class JdbcUtils implements JdbcConstants { } catch (Throwable ignore) { return "org.hsqldb.jdbcDriver"; } + } else if (rawUrl.startsWith("emb:jdbc:hsqldb:")) { + 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:")) {