On Sun, Jun 16, 2013 at 12:19 PM, Ray Miller <[email protected]> wrote:

> Hi,
>
> Is there a maintained and widely-adopted Clojure interface to any of
> the Java DBM libraries (jdbm, jdbm2, BerkeleyDB or MapDB) ?
>

There's a Clojure wrapper for jdbc, which should get you all the major
relational databases.

If not, is there a preferred alternative for persisting a large
> hash-map to disk? (Ideally I'd like random access to records without
> reading the whole thing into memory, so would prefer something more
> sophisticated than printing a Clojure data structure to a file.)
>

OrientDB might be a good choice for that. It touts fast random access to
records if you have a record handle object in hand, or a string
representation of same, and it claims to work as a key/value store, or
graph database, or a few other sorts of NoSQL thingies as the user
requires. Also, it's Java and embeddable, and there's a Clojure wrapper for
its API. ACID support, too, if you need to ensure transactions aren't ever
half-done and half-not-done, say if one was in progress when the power cut
out.

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


Reply via email to