Skip to content

Commit 4138b03

Browse files
committed
Fix JDBC-178 by cleaning up properties hash map
1 parent 0801bc0 commit 4138b03

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Changes coming in 0.7.10
22

3+
* Clean up `db-spec` options that are passed to the JDBC connection manager as properties [JDBC-178](https://dev.clojure.org/jira/browse/JDBC-178).
34
* Relax restriction on `create-table-ddl` column specs to allow numbers (as well as keywords and strings) [JDBC-177](https://dev.clojure.org/jira/browse/JDBC-177).
45

56
Changes in 0.7.9

src/main/clojure/clojure/java/jdbc.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ http://clojure-doc.org/articles/ecosystem/java_jdbc/home.html"}
398398
host
399399
(when port (str ":" port))
400400
db-sep dbname))
401-
etc (dissoc db-spec :dbtype :dbname)]
401+
etc (dissoc db-spec :dbtype :dbname :host :port :classname)]
402402
(get-driver-connection classname subprotocol db-spec
403403
url etc opts
404404
(str "Unknown dbtype: " dbtype)))

0 commit comments

Comments
 (0)