On Tue, Sep 13, 2011 at 6:49 AM, finbeu <info_pe...@t-online.de> wrote: > BTW: Does someone know how I can keep the connection always open? If I > understand it right, "with-connection" does a connect and login to the db > each time it gets called. Isn't this quite inefficient?
Take a look at https://github.com/clojure/java.jdbc/blob/master/doc/clojure/java/jdbc/ConnectionPooling.md That's pretty much what we use at World Singles. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Railo Technologies, Inc. -- http://www.getrailo.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