On Fri, Nov 9, 2012 at 10:19 AM, larry google groups <lawrencecloj...@gmail.com> wrote: > Usage: (do-commands & commands) > > This seems flexible, but how does it know what the open database connection > is? I have to switch between 2 databases.
do-commands is intended for DDL. All of these API methods are intended to be used inside (with-connection ...) which is how they know which DB connection to use. Again: Perhaps you can explain a bit more about what you're trying to do. Have you looked at this page: http://clojure.github.com/java.jdbc/doc/clojure/java/jdbc/UsingSQL.html I think you're over-thinking / over-complicating what you need... -- 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