Open jsyrjala opened 12 years ago
This prevents lobos from being used in a project that also uses korma, because the latter uses 0.2.2
I also just got snagged by this. And after I learned how to write all my migrations using the Lobos DSL!
Are there any plans to upgrade to the current java.jdbc?
I have been taking a long hard look at this problem. From java.jdbc 0.2.0 the functions in the internal namespace was collapsed into clojure.java.jdbc but more importantly a lot of vars/functions(e.g. db, get-connection, etc.) were made private. Lobos makes uses these a lot (see e.g. connectivity.clj) and looks like a heavy refactoring will be required. Would also like to know what the plans are?
Same here. Would like to use Korma and Lobos together.
Latest version of org.clojure/java.jdbc is now 0.2.3. I too plan to use lobos with korma.
I ended up using lein-multi to use korma and lobos together, in case that helps anyone.
+1
+1
Specifying the latest version of jdbc in your dependencies fixes this conflict:
[org.clojure/java.jdbc "0.2.3"]
Lobos currently uses [org.clojure/java.jdbc "0.1.1"] when the latest is [org.clojure/java.jdbc "0.2.2"].
Note also that java.jdbc 0.2.2 is not backwards compatible 0.1.1 and 0.1.3. Namespace clojure.java.jdbc.internal does not exist in 0.2.2.