From 629893eac45050197c37c3e1342de2ad1c232291 Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Tue, 26 Jun 2012 11:34:00 -0700 Subject: [PATCH] Remove reflection warning --- src/main/clojure/clojure/java/jdbc.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/clojure/clojure/java/jdbc.clj b/src/main/clojure/clojure/java/jdbc.clj index e603809c..50db285f 100644 --- a/src/main/clojure/clojure/java/jdbc.clj +++ b/src/main/clojure/clojure/java/jdbc.clj @@ -414,7 +414,7 @@ generated keys are returned (as a map)." } Specifically, Oracle returns that and we must call getUpdateCount() to get the actual number of rows affected. In general, operations return an array of update counts, so this may not be a general solution for Oracle..." - [stmt] + [^Statement stmt] (let [result (.executeBatch stmt)] (if (and (= 1 (count result)) (= -2 (first result))) (list (.getUpdateCount stmt))