diff --git a/CHANGELOG.md b/CHANGELOG.md index e1c6ac0..2ad5f8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ Only accretive/fixative changes will be made from now on. * 1.2.next in progress + * Fix #174 by removing `:property-separator` from "etc" map and defaulting H2 to `";"` for this. * Switch to `tools.build` for running tests and JAR building etc. * 1.2.689 -- 2021-08-01 diff --git a/src/next/jdbc/connection.clj b/src/next/jdbc/connection.clj index 343a87a..6a1aaa7 100644 --- a/src/next/jdbc/connection.clj +++ b/src/next/jdbc/connection.clj @@ -71,8 +71,10 @@ "duckdb" {:classname "org.duckdb.DuckDBDriver" :host :none} "h2" {:classname "org.h2.Driver" + :property-separator ";" :host :none} - "h2:mem" {:classname "org.h2.Driver"} + "h2:mem" {:classname "org.h2.Driver" + :property-separator ";"} "hsql" {:classname "org.hsqldb.jdbcDriver" :alias-for "hsqldb" :host :none} @@ -161,7 +163,7 @@ :as db-spec}] (let [etc (dissoc db-spec :dbtype :dbname :host :port :classname - :dbname-separator :host-prefix + :dbname-separator :host-prefix property-separator :jdbcUrl)] (if jdbcUrl [jdbcUrl etc]