Hi,
I'm currently replacing an older perl system with a new one in Java,
and need to be able to create and use a simple BDB file to store key
and value pairs. I can't find any kind of example or tutorial through
normal means, and I've seen references to both com.sleepycat.bdb and
com.sleepycat.je, but I've no idea how to use them.
Anyone have any sample code? All I need is to be able to create
whatever.db, add key value pairs, remove key value pairs, and retrieve
values of keys.
Thanks!
-Ian
massiccio - 23 Nov 2007 13:39 GMT
Ian,
you are talking about Oracle Berkeley DB Java Edition. You can
download it for free here [1]. The distribution includes some
examples.
HTH,
Michele
[1] http://www.oracle.com/database/berkeley-db/je/index.html
> Hi,
>
[quoted text clipped - 10 lines]
> Thanks!
> -Ian