Tidy up
This commit is contained in:
parent
fc1ca82e4e
commit
5cb185f16e
1 changed files with 4 additions and 5 deletions
|
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
(ns next.jdbc
|
(ns next.jdbc
|
||||||
""
|
""
|
||||||
(:require [clojure.set :as set]
|
(:require [clojure.set :as set])
|
||||||
[clojure.string :as str])
|
|
||||||
(:import (java.lang AutoCloseable)
|
(:import (java.lang AutoCloseable)
|
||||||
(java.sql Connection DriverManager
|
(java.sql Connection DriverManager
|
||||||
PreparedStatement
|
PreparedStatement
|
||||||
|
|
@ -297,11 +296,11 @@
|
||||||
Connection
|
Connection
|
||||||
(get-connection [this] (reify
|
(get-connection [this] (reify
|
||||||
AutoCloseable
|
AutoCloseable
|
||||||
(close [this'])
|
(close [_])
|
||||||
Connectable
|
Connectable
|
||||||
(get-connection [this'] this')
|
(get-connection [_] this)
|
||||||
Preparable
|
Preparable
|
||||||
(prepare [this' sql-params opts]
|
(prepare [_ sql-params opts]
|
||||||
(prepare this sql-params opts))))
|
(prepare this sql-params opts))))
|
||||||
DataSource
|
DataSource
|
||||||
(get-connection [this] (.getConnection this))
|
(get-connection [this] (.getConnection this))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue