Re: No longer able to write a UUID to Postgres with ClojureQL

2011-12-06 Thread Don Jackson
On Dec 6, 2011, at 11:23 AM, Sean Corfield wrote: > On Tue, Dec 6, 2011 at 6:12 AM, Herwig Hochleitner > wrote: >> 2011/12/6 Sean Corfield : >>> So the question is probably: why is ClojureQL assuming all generated >>> keys are integers? >> It shouldn't, and doesn't now: >> https://github.com/Lau

Re: No longer able to write a UUID to Postgres with ClojureQL

2011-12-06 Thread Sean Corfield
On Tue, Dec 6, 2011 at 6:12 AM, Herwig Hochleitner wrote: > 2011/12/6 Sean Corfield : >> So the question is probably: why is ClojureQL assuming all generated >> keys are integers? > It shouldn't, and doesn't now: > https://github.com/LauJensen/clojureql/commit/f7ffe88b166e6f60eccb3b4f46b7db5d69dbc

Re: No longer able to write a UUID to Postgres with ClojureQL

2011-12-06 Thread Herwig Hochleitner
2011/12/6 Sean Corfield : > If it helps someone debug this for Don (since he and I discussed this > off-list): > > The stack trace from ClojureQL originates in its function to return > generated keys and it's calling .getInt on the (generated) key which > fails because it's a UUID. > > So the ques

Re: No longer able to write a UUID to Postgres with ClojureQL

2011-12-05 Thread Sean Corfield
If it helps someone debug this for Don (since he and I discussed this off-list): The stack trace from ClojureQL originates in its function to return generated keys and it's calling .getInt on the (generated) key which fails because it's a UUID. So the question is probably: why is ClojureQL assumi

No longer able to write a UUID to Postgres with ClojureQL

2011-12-05 Thread Don Jackson
For those of you following along at home, my spate of bad luck continues…. A week or so ago, I was happily writing and reading UUIDs into Postgres with ClojureQL. Then, all of a sudden, it stopped working, and I can't figure out why. Shame on me for not being more careful about documenting when