funcool / clojure.jdbc

JDBC library for Clojure
http://funcool.github.io/clojure.jdbc/latest/
Apache License 2.0
105 stars 26 forks source link

fixed max-rows bug and added missing fetch-size option #12

Closed i-blis closed 10 years ago

i-blis commented 10 years ago

Fixed (with-connection [conn dbspec] (query conn ["SELECT * FROM table"] {:max-rows 10})) throwing IllegalArgumentException No matching field found: setMaxRows for class java.lang.Long .

Added fetch-size option, which was otherwise ignored.

Ran 12 tests containing 86 assertions.
0 failures, 0 errors.
niwinz commented 10 years ago

Awesome! Thanks!