   (sql/db-do-prepared *db* true (into [sql] params) {:multi? true}))
 
 (defn do-commands-outside-txn [& commands]
-  (let [conn (:connection *db*)
+  (let [^Connection conn (:connection *db*)
         orig (.getAutoCommit conn)]
     (.setAutoCommit conn true)
     (try

   If there are still retries to perform, returns false."
  [remaining :- s/Int
   current :- s/Int
   exception]
  (cond
   (zero? remaining)
   (do

  ([convert x]
   (cond
     (kitchensink/array? x) (convert x)
     (isa? (class x) java.sql.Array) (convert (.getArray ^java.sql.Array x))
     :else x)))

(defn call-with-query-rows
