Embedded (pure Java) database for Clojure
Without a doubt, H2
Here are the settings,
(def demo-settings { :classname "org.h2.Driver" :subprotocol "h2:file" :subname (str (System/getProperty "user.dir") "/" "demo") :user "sa" :password "" } )
And then the usual Clojure SQL code:
(with-connection demo-settings (create-table :DEMO_TABLE [:M_LABEL "varchar(120)"] [:M_DATE "varchar(120)"] [:M_COMMENT "varchar(32)"]))
Have you looked at FleetDB? It's a Clojure database with a JSON protocol and clients in several languages. I suspect you could probably run it embedded without working too hard at it.