Brian Craft <[email protected]> writes:

> How would I do an operation involving two databases? I'd need to call
> with-connection* from with-connection*? How would I then read from one
> & write to the other?

I've never used the jdbc lib, but essentially it should be something
along the lines of

  (let [db1 (connect-to-db1)
        db2 (connect-to-db2)]
    (with-connection* db2
      (write-stuff (with-connection* db1 (read-stuff)))))

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

Reply via email to