Permalink
Browse files

Change :username to :user, to comply with JDBC

  • Loading branch information...
1 parent 2d85848 commit 944331531a63381350f4fb9eb4f865375cb4b8f5 @cdaddr cdaddr committed Aug 29, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 ch14-rdbms-repl-interactions.clj
@@ -1,4 +1,3 @@
-
;-----
(require '[clojure.java.jdbc :as jdbc])
;= nil
@@ -12,13 +11,13 @@
{:classname "com.mysql.jdbc.Driver"
:subprotocol "mysql"
:subname "//localhost:3306/databasename"
- :username "login"
+ :user "login"
:password "password"}
;-----
{:datasource datasource-instance
- :username "login"
+ :user "login"
:password "password"}

0 comments on commit 9443315

Please sign in to comment.