What?
        Clojure contrib wrapper for JDBC
        https://github.com/clojure/java.jdbc 

Release?
        0.7.0 Alpha 1 (previous release was 0.6.2 Alpha 3)
        [org.clojure/java.jdbc “0.7.0-alpha1”]
        ** potentially breaking changes **

Summary?

• Minor enhancements but version bump is because two naming strategy functions 
have signature changes (see below).
• Option passing is now consistent across all functions (and all call chains).
• New get-isolation-level function.
• New read-columns option.
• Expanded clojure.spec coverage.

Details?

• The signatures of as-sql-name and quoted have changed slightly: the former no 
longer has the curried (single argument) version, and the latter no longer has 
the two argument version. This change came out of a discussion on Slack which 
indicated curried functions are non-idiomatic. If you relied on the curried 
version of as-sql-name, you will now need to use partial. If you relied on the 
two argument version of quoted, you will need to add an extra ( ) for the one 
argument call. I'd be fairly surprised if anyone is using as-sql-name at all 
since it is really an implementation detail. I'd also be surprised if anyone 
was using the two argument version of quoted since the natural usage is 
:entities (quoted [\[ \]]) to create a naming strategy (that provides SQL 
entity quoting).
• Clarified that insert-multi! with a sequence of row maps may be substantially 
slower than with a sequence of row value vectors (the former performs an insert 
for each row, the latter performs a single insert for all the data together) 
JDBC-147.
• All options are passed through all function calls, expanding the range of 
options you can pass into high-level functions such as insert! and update! 
JDBC-144.
• Added get-isolation-level to return the current transaction's isolation 
level, if any JDBC-141.
• Added support for read-columns option to allow more flexible customization of 
reading column values from a result set (particularly in a multi-database 
application). Also expands set-parameters support to options (previously it was 
just part of the db-spec) JDBC-137.
• Expanded optional clojure.spec coverage to almost the whole library API.

Sean Corfield -- (904) 302-SEAN -- (970) FOR-SEAN
An Architect's View -- http://corfield.org/

"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/d/optout.

Reply via email to