TL;DR: Major API overhaul to make it more idiomatic; old API deprecated

High-level changes described here:

http://corfield.org/blog/post.cfm/clojure-java-jdbc-0-3-0-alpha-1

The README says:

Release 0.3.0-alpha1 on 2013-04-07

MAJOR API OVERHAUL!
Most of the old 0.2.x API has been deprecated and a new, more
idiomatic API introduced, along with a minimal DSL to generate basic
SQL
Specifics:
Add insert!, query, update!, delete! and execute! high-level API JDBC-20
Add optional SQL-generating DSL in clojure.java.jdbc.sql (implied by JDBC-20)
Add db- prefixed versions of low-level API
Add db-transaction macro
Add result-set-seq as replacement for resultset-seq (which will be deprecated)
Transaction now correctly rollback on non-Exception Throwables JDBC-43
Rewrite old API functions in terms of new API, and deprecate old API JDBC-43
Add :as-arrays to query / result-set-seq JDBC-41
Better handling of NULL values JDBC-40 and JDBC-18
db-do-command allows you to execute SQL without a transaction wrapping
it JDBC-38
Remove reflection warning from execute-batch
Add notes to README about 3rd party database driver dependencies
Add optional :identifiers argument to resultset-seq so you can
explicitly pass in the naming strategy
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
-- 
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/groups/opt_out.


Reply via email to