From c96af1800f517838cd4bf47e2b2260d38b4bbc6e Mon Sep 17 00:00:00 2001 From: Stuart Sierra Date: Mon, 10 Oct 2011 16:19:34 -0400 Subject: [PATCH] JDBC-17: Add type hints to public API functions returning Connection --- src/main/clojure/clojure/java/jdbc.clj | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/clojure/clojure/java/jdbc.clj b/src/main/clojure/clojure/java/jdbc.clj index f92e5f3..a1e3c49 100644 --- a/src/main/clojure/clojure/java/jdbc.clj +++ b/src/main/clojure/clojure/java/jdbc.clj @@ -52,12 +52,14 @@ generated keys are returned (as a map)." } as-keyword*) (def ^{:doc "Returns the current database connection (or nil if there - is none)"} + is none)" + :tag Connection} find-connection find-connection*) (def ^{:doc "Returns the current database connection (or throws if - there is none)"} + there is none)" + :tag Connection} connection connection*) -- 1.7.4.1