What? Clojure Contrib wrapper for JDBC https://github.com/clojure/java.jdbc#change-log [org.clojure/java.jdbc “0.6.0-rc2”]
I had expected to go from RC 1 to Gold but the new, more consistent API offered some opportunities for more improvements and cleaning up before we get there. Changes in 0.6.0-rc2 • db-query-with-resultset now accepts an options map and passes it to prepare-statement JDBC-125. ◦Passing the prepare-statement options map as the first element of the [sql & params] vector is no longer supported and will throw an IllegalArgumentException . It was always very poorly documented and almost never used, as far as I can tell. • db-query-with-resultset no longer requires the sql-params argument to be a vector: a sequence is acceptable. This is in line with other functions that accept a sequence. • db-query-with-resultset now accepts a bare SQL string or PreparedStatement as the sql-params argument, when there are no parameters needed. This is in line with other functions that accept SQL or a PreparedStatement . • query 's options map now is passed to db-query-with-resultset and thus can contain options to be used to construct the PreparedStatement JDBC-125. • find-by-keys now accepts an :order-by option that specifies a sequence of orderings; an ordering is either a column (to sort ascending) or a map from column name to direct ( :asc or :desc ). And Changes in 0.6.0-rc1 •Adds get-by-id and find-by-keys convenience functions (these were easy to add after the API changes in 0.6.0 and we rely very heavily on them at World Singles so putting them in the core for everyone seemed reasonable). •REMINDER: ALL DEPRECATED FUNCTIONALITY HAS BEEN REMOVED! JDBC-118. ◦See alpha2 / alpha1 below for more details. Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.