Skip to content
This repository was archived by the owner on Apr 17, 2021. It is now read-only.

Commit c452a4f

Browse files
Fix references to jdbc functions
1 parent 3956a7b commit c452a4f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/clj_infrastructure/db.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -692,8 +692,8 @@
692692
:op-comment \"Extract new or modified user details\" } ]
693693
"""
694694

695-
(dbc/dbconfig-connection conn-or-spec
696-
(jdbc/with-db-transaction [conn (dbc/dbconfig {} "connection")]
695+
(dbconfig-connection conn-or-spec
696+
(clojure.java.jdbc/with-db-transaction [conn (dbconfig {} "connection")]
697697
(doall
698698
(for [stmt-detail-map stmt-detail-vec]
699699
(run-statement conn stmt-detail-map))))))
@@ -719,11 +719,11 @@
719719
(= exec-mode DB_EXEC_MODE_QUERY)
720720
(do
721721
(log/debug "Issuing statement as query (results expected) ...")
722-
(jdbc/query conn sql-params opt-map))
722+
(clojure.java.jdbc/query conn sql-params opt-map))
723723
(= exec-mode DB_EXEC_MODE_EXEC)
724724
(do
725725
(log/debug "Issuing statement as execution (no results expected) ...")
726-
(jdbc/execute! conn sql-params opt-map))))]
726+
(clojure.java.jdbc/execute! conn sql-params opt-map))))]
727727
(when commit?
728728
(.commit (:connection conn)))
729729
updated-map)))

0 commit comments

Comments
 (0)