On Jul 11, 7:48 am, Brian Carper wrote:
> On Jul 10, 4:52 pm, Wilfred wrote:
>
> > I'm at a bit of a loss. "UPDATE comments SET approved='1' WHERE id =
> > '1'" works fine in psql. approved is a boolean field, so is this an
> > issue with the SQL library producing incorrect SQL?
>
> I think this
On Jul 11, 6:41 am, Aaron Bedra wrote:
> Silly question, but which version of java.jdbc are you using? Up until
> 0.0.3 I had no end of troubles with psql because of the batchExecute issue.
I tested Wilfred's code with 0.0.3-SNAPSHOT.
--Brian
--
You received this message because you are subsc
Silly question, but which version of java.jdbc are you using? Up until
0.0.3 I had no end of troubles with psql because of the batchExecute issue.
Cheers,
Aaron Bedra
--
Clojure/core
http://clojure.com
On 07/11/2011 02:48 AM, Brian Carper wrote:
On Jul 10, 4:52 pm, Wilfred wrote:
I'm at a
On Jul 10, 4:52 pm, Wilfred wrote:
> I'm at a bit of a loss. "UPDATE comments SET approved='1' WHERE id =
> '1'" works fine in psql. approved is a boolean field, so is this an
> issue with the SQL library producing incorrect SQL?
I think this is an oddity with the JDBC driver for PostgreSQL. The
I don't (yet) have a PostgreSQL environment to test java.jdbc on but
I'm planning to do that soon. I've also talked to Aaron about how we
can set up DBs for automated testing on build.clojure.org so java.jdbc
can have "real" tests that I can run locally and which will also still
run on the build sy
Hi all
I've started a very simple compojure project to wet my feet with
Clojure. I've written a simple model changing function:
(defn approve! [id]
(sql/with-connection db
(sql/transaction
(sql/update-values :comments
["id = ?" id]
{:appr