The library formerly known as clojure.contrib.sql has had its first non-snapshot release.
Features added (above and beyond clojure.contrib.sql):
- returns generated keys for single record inserts
- supports naming strategies to allow you to override the conversion of keywords to/from SQL entity names
- exposes resultset-seq that respects naming strategies
- exposes print-* functions to print SQL exceptions (and no longer prints to *err* on an exception)
You can read more about naming strategies in the clojure.java.jdbc documentation.
If you start using this library with Clojure 1.3.0 and find bugs or think of enhancements, please enter them in the clojure.java.jdbc JIRA bug tracker.
To use clojure.java.jdbc 0.0.1 from Maven or Leiningen, see the clojure.java.jdbc home page on github.