2011/12/6 Sean Corfield <seancorfi...@gmail.com>:
> 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 assuming all generated
> keys are integers?

It shouldn't, and doesn't now:
https://github.com/LauJensen/clojureql/commit/f7ffe88b166e6f60eccb3b4f46b7db5d69dbcc64
Thanks for tracing this and taking the time to post it.

> As for what might have changed in Don's setup, I wondered if the :uid
> column definition had been changed to indicate (to ClojureQL) that it
> is a potentially generated key?

CQL doesn't distinguish generated and non-generated. It just exposes
the notion, JDBC provides of that.

> (is there a ClojureQL mailing list?)

Not that I'm aware of, currently.

kind regards
-- 
__________________________________________________________________
Herwig Hochleitner

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to