Re: Oddity with clojure-contrib/sql

2009-04-27 Thread Mark Derricutt
The table def was: CREATE TABLE users ( user_id VARCHAR(255) NOT NULL, msisdn VARCHAR(255), date_created timestamp with time zone NOT NULL, date_verified timestamp with time zone NOT NULL ); I'll try to build it up as a test case tonight. On Tue, Apr 28, 2009 at 1:57 AM, Stephen C. Gilardi wrote

Re: Oddity with clojure-contrib/sql

2009-04-27 Thread Stephen C. Gilardi
On Apr 27, 2009, at 9:57 AM, Stephen C. Gilardi wrote: As a result of your report, I'm working on adding better error reporting on BatchUpdateException and SQLException to clojure.contrib.sql. I've added this in SVN Revision 720 of clojure-contrib. Comments welcome. --Steve smime.p7

Re: Oddity with clojure-contrib/sql

2009-04-27 Thread Stephen C. Gilardi
On Apr 27, 2009, at 6:19 AM, Mark Derricutt wrote: Hey guys, Just started looking at clojure-contrib's sql namespace, however, using the following code: (let [user_id (.toString (java.util.UUID/randomUUID))] (sql/with-connection db (sql/insert-records :users {:user_id user_id})))

Oddity with clojure-contrib/sql

2009-04-27 Thread Mark Derricutt
Hey guys, Just started looking at clojure-contrib's sql namespace, however, using the following code: (let [user_id (.toString (java.util.UUID/randomUUID))] (sql/with-connection db (sql/insert-records :users {:user_id user_id}))) and clojure-contrib-1.0-20090421.092453-8.jar seems to g