Re: Clojure + PostgreSQL

2011-06-26 Thread Sean Corfield
Sorry about that - known issue: http://dev.clojure.org/jira/browse/JDBC-10 It works fine on MySQL but breaks on PostgreSQL and SQL Server. I'll get a fix in over the next couple of days (I'm away from home right now). Sean On Sun, Jun 26, 2011 at 4:13 PM, Lars Rune Nøstdal wrote: > Hi guys, > A

Re: Clojure + PostgreSQL

2011-06-26 Thread Lars Rune Nøstdal
Quick change to do-prepared* in internal.clj: (defn do-prepared* "Executes an (optionally parameterized) SQL prepared statement on the open database connection. Each param-group is a seq of values for all of the parameters." [return-keys sql & param-groups] (with-open [stmt (if return-

Clojure + PostgreSQL

2011-06-26 Thread Lars Rune Nøstdal
Hi guys, Anyone using Clojure and PostgreSQL? I'm trying to access PostgreSQL using https://github.com/clojure/java.jdbc at the moment, but it seems to have trouble with simple inserts: > (insert-record :temp {:parent 42}) # ..etc.. Perhaps I'm on the wrong track; what do you guys use or