David Toomey <[email protected]> writes:
Hi David,
> The error, as mentioned in the title: java.lang.ClassCastException:
> clojure.lang.Var$Unbound cannot be cast to clojure.lang.Atom
In which line?
Hm, the message tells that you are using an atom function like swap! on
something that's not an Atom but Unbound. But your code doesn't contain
such a coll. So I guess it's in the SQL Korma code here
> (let [tuser (select db/allusers
> (fields :username :password :usertype)
> (where {:username "newguy"}))]
where db/allusers is Unbound.
Bye,
Tassilo
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.