Steve,
   Thanks for the reply, here is the error stack trace I retrieved
when running the code from clojure.contrib.sql. The actual function I
was running was "db-read", and the stack trace can be found at
http://clojure.pastebin.com/f660e0aac .

Thanks,
Brian

On Jan 26, 10:25 am, "Stephen C. Gilardi" <squee...@mac.com> wrote:
> Hi Brian,
>
> Could you please paste a copy of the stack trace for the  
> ClassCastException you're seeing tohttp://clojure.pastebin.comand  
> post the URL for it here?
>
> If you're driving your program at the repl, you can get a stack trace  
> from the most recent exception with:
>
>         (.printStackTrace *e)
>
> Thanks,
>
> --Steve
>
> On Jan 26, 2009, at 9:45 AM, BrianS wrote:
>
> > I have been able to connect up clojure and my SQL Server 2005 server,
> > using the sample code include with clojure-contrib, at least in terms
> > of connecting, and responding to command like CREATE TABLE and INSERT
> > INTO.  However, whenever I use the commands to access the tables and
> > pull back results (simple SELECT * type SQL commands), I invariably
> > get java.lang.ClassCastException errors.  It is not related to NULL
> > values in a field, nor is it related to real or int fields (as I get
> > these errors even when the tables I pull from do not have these
> > types). Has anyone come across this issue with SQL Server/MS JDBC/
> > clojure-contrib? Barring that, is there anyone with any type of
> > working code example for using clojure-contrib against SQL Server?
> > Thanks in advance for your help,
> > Brian S
>
>
>
>  smime.p7s
> 3KViewDownload
--~--~---------~--~----~------------~-------~--~----~
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
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