I've been trying to setup all my projects in the style Stuart Sierra 
documented in Clojure in the 
Large<http://www.infoq.com/presentations/Clojure-Large-scale-patterns-techniques>
 and My Clojure Workflow, 
Reloaded<http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-reloaded>. 
I've been trying to only use libraries that don't store any explicit 
mutable state in vars. I've been having trouble finding a Clojure JDBC 
library that does this. It seems like they all put the connection in some 
kind of var or other area. I know I could just use the Java JDBC APIs 
directly but I was hoping to avoid concatenating a bunch of SQL in my 
Clojure and dealing with these lower level APIs. Does anyone have any 
recommendations for Clojure libraries that might allow this? I'm also 
wondering if there might be a Java library with a higher level API that 
might allow this style. I'm betting other people have run into this issue 
with relational databases and if they have any tips for how to avoid it. 
(and yes I'm aware of Datomic :) )

-- 
-- 
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