The README at states:
"You can omit the connection altogether. In that case, actions will use the connection bound by with-connection or the default one."
However, if I do this:
  (ns foo
    (:use [clojure.java.jdbc :only [with-connection]]
          [lobos.core :only [create]]
          [lobos.schema :only [table integer]]
          [foo.config :only [db]]))
  
  (with-connection db
    (create (table :foo (integer :bar)))
I get this exception:
  net.sf.log4jdbc.ConnectionSpy cannot be cast to clojure.lang.IPersistentCollection
    [Thrown class java.lang.ClassCastException]
    clojure.core$conj.invoke(core.clj:83)
    clojure.core$merge$fn__3879.invoke(core.clj:2629)
    clojure.core$reduce1.invoke(core.clj:879)
    clojure.core$reduce1.invoke(core.clj:870)
    clojure.core$merge.doInvoke(core.clj:2629)
    clojure.lang.RestFn.invoke(RestFn.java:421)
    lobos.internal$optional_cnx_or_schema.invoke(internal.clj:82)
    lobos.core$create_STAR_.doInvoke(core.clj:119)
    clojure.lang.RestFn.invoke(RestFn.java:423)
    ...
Am I misunderstanding something?
Thanks,
Stuart