funcool / clojure.jdbc

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

Java 7 Requirement? #6

Closed dubiousdavid closed 10 years ago

dubiousdavid commented 10 years ago

Does this library require Java 7? It seems that java.lang.AutoCloseable is Java 7 and later. If so, please add this to the docs. Thanks.

niwinz commented 10 years ago

Hi!

Yes, clj.jdbc targets mainly to jdk7, because my main environments runs on jdk7. If you have time to make fixes for run it on jdk6, patches are welcome!

Thanks for the suggestion, I will add it to the docs!

niwinz commented 10 years ago

Now the usage of java.lang.AutoCloseable is replaced with java.io.Closeable and is now jdk6 compatible ;)