I'm probably making a dumb mistake but I've been unable to import the
necessary classes to do transactions in H2 (MVMap interface).

I receive the following error at the repl:
-------------------------------------------------------
user=> (in-ns 'asdf.core)
#object[clojure.lang.Namespace 0x46d3c2c8 "asdf.core"]
asdf.core=> (clojure.core/load-file "src/asdf/core.clj")

CompilerException java.lang.ClassNotFoundException:
org.h2.mvstore.db.TransactionStore.Transaction,
compiling:(/home/rwaters/asdf/src/asdf/core.clj:1:1)
asdf.core=>
-------------------------------------------------------

Here's my project.clj:
(defproject asdf "0.1.0-SNAPSHOT"
  :dependencies [[org.clojure/clojure "1.7.0"]
                 [com.h2database/h2 "1.4.189"]])

And here's core.clj:
(ns asdf.core
  (:import [org.h2.mvstore MVMap MVStore]
           [org.h2.mvstore.db TransactionStore]
           [org.h2.mvstore.db.TransactionStore Transaction]))


Notice how the imports before 'Transaction' are successful.  I can't seem
to import any class defined in org.h2.mvstore.db.TransactionStore:
https://github.com/h2database/h2database/blob/master/h2/src/main/org/h2/mvstore/db/TransactionStore.java

I was using the following test code as a point of reference:
https://github.com/h2database/h2database/blob/master/h2/src/test/org/h2/test/store/TestTransactionStore.java

Thank you,
Ryan

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to