Created
July 12, 2012 21:19
-
-
Save jcrossley3/3101061 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(try | |
(in-ns 'clojure.java.jdbc) | |
(def ^{:dynamic true} xa-transaction* transaction*) | |
(defn transaction* [& args] (apply xa-transaction* args)) | |
(in-ns 'immutant.xa.transaction) | |
(catch Throwable e (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