Hi Brian,

On Feb 4, 2009, at 9:21 AM, BrianS wrote:

However, whenever I insert
a SQL query that contains an inner join command (standard SQL), I get
the following error:
java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.IllegalArgumentException: Too many arguments to struct
constructor (NO_SOURCE_FILE:0)
        at clojure.lang.Compiler.eval(Compiler.java:4186)
...and more

with-query-results uses resultset-seq which does not handle result sets with duplicate column names. There's an issue about it with pointers to previous discussions:

http://code.google.com/p/clojure/issues/detail?id=33&q=result&colspec=ID%20Type%20Status%20Priority%20Reporter%20Owner%20Summary

That sounds like what's going on in your example. Can you please confirm?

Thanks,

--Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to