Andy Chambers wrote on Thursday, November 12, 2015 at 10:49 PM:
I threw up an example repo demonstrating the type of test I'd like to be able 
to write somehow. Maybe I'm just
trying to test something that should be tested in other ways.

https://github.com/cddr/jdbc-demo

As Andrey indicates, what you’re trying to do just isn’t valid without using a 
separate transaction (or a transaction-less db-spec) for the query.

I’d also strongly recommend not use dynamic global variables like that 
(java.jdbc moved away from that sort of API a long time ago because of the 
problems it causes).

Sean


-- 
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/d/optout.

Reply via email to