Re: clojure.contrib.sql : how not to use a transaction ?

2010-03-06 Thread Stephen C. Gilardi
On Mar 5, 2010, at 5:43 AM, rdunklau wrote: So, is there any function which exposes the PreparedStatement.executeUpdate() method directly ? There is no such function currently. Is calling the Java method directly an undesirable option? --Steve -- You received this message because you are

Re: clojure.contrib.sql : how not to use a transaction ?

2010-03-06 Thread Bill Pyne
Have you tried the do-prepared function? On Mar 5, 5:43 am, rdunklau rdunk...@gmail.com wrote: Hello. I'm trying to use clojure.contrib.sql to set up my database (on postgresql) However, i'm running into some problems : I did not find a way to execute a (prepared) statement outside a

clojure.contrib.sql : how not to use a transaction ?

2010-03-05 Thread rdunklau
Hello. I'm trying to use clojure.contrib.sql to set up my database (on postgresql) However, i'm running into some problems : I did not find a way to execute a (prepared) statement outside a transaction WITHOUT returning the results. What I tried so far: (def mystatement CREATE DATABASE mydb