Hi everyone, I may look stupid but how do you cast Java arguments ?
(java.sql.DriverManager/registerDriver (clojure.lang.RT/classForName "com.mysql.jdbc.Driver")) java.lang.ClassCastException: java.lang.Class cannot be cast to java.sql.Driver (NO_SOURCE_FILE:0) I fully agree with the error message but how can I change from Object to java.sql.Driver ? I tried half a dozen ways and searched on the web site but nothing yet. I started to work seriously with clojure a couple of weeks ago and I have now written a good chunk but this one blocks me... Any answer is welcomed, feel free to be kind or not (ya stupid fool, ....) . I feel like if I am starting programming here... (I'm 47 years old), oups.... As for the language itself I like it very much. I used to work with Lisp in my first years with computers. I was getting tired of the thousands lines of Java code needed to get an app. running even if the IDE's out there can generate most of these. Rich, I may be old school (surely just because of my age) but would it be possible some day to create a cook book in PDF ? I like the feeling of paper in my hands... and I read a lot in my bath , hard to have a laptop following you there :))) If you need some help to pull it together, I could start this thing. The HTML stuff on the site is ok if you already know a good chunk about clojure and you need quick references. Of course the implementation has to be stable enough, you're the judge on this. Thank you, Luc --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---