-
-
Save tobias/3101076 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(if (resolve 'clojure.java.jdbc/transaction*) | |
(do | |
(in-ns 'clojure.java.jdbc) | |
(def ^{:dynamic true} xa-transaction* transaction*) | |
(defn transaction* [& args] (apply xa-transaction* args)) | |
(in-ns 'immutant.xa.transaction)) | |
(println "Using XA with java.jdbc 0.1.x is not supported")) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment