Just a quick heads up that the next version of clojure.java.jdbc will be 0.7.0 
(Alpha 1, probably) and will have a small breaking change – hence the jump from 
the planned 0.6.2 version.

https://github.com/clojure/java.jdbc/blob/master/CHANGES.md

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 not 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).

If my assumptions about the usage of as-sql-name and/or quoted are incorrect, 
please let me know.

Also a reminder (to the Clojure Mailing List) that there is a dedicated 
clojure-java-jdbc Google Group if you want to discuss JDBC-specific stuff.

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