Re: java.jdbc not working with my jdbc driver

2013-12-08 Thread Avinash Dongre
Thanks Everything is working as per expectation. On Friday, December 6, 2013 6:38:23 PM UTC+5:30, Avinash Dongre wrote: > > Hi > I have our own jdbc driver when I am trying to use clojure java.jdbc it is > giving me error like below > > Exception in thread "main"

clojure java.jdbc db-do-prepared and dynamic parameters

2013-12-08 Thread Avinash Dongre
I see following example in Clojure.java.jdbc (sql/db-do-prepared db "INSERT INTO fruit2 ( name, appearance, cost, grade ) VALUES ( ?, ?, ?, ? )" ["test" "test" 1 1.0]) But how do i convert following java code into clojure. I am new to clojure and not sure how to i pass multiple vector final

java.jdbc not working with my jdbc driver

2013-12-06 Thread Avinash Dongre
Hi I have our own jdbc driver when I am trying to use clojure java.jdbc it is giving me error like below Exception in thread "main" java.lang.ClassCastException: a.b.my_custom_driver cannot be cast to clojure.lang.IFn at clojure.gemfireXD.jdbc$createStatement.invoke(client.clj:13) at clojure.gem