Igor Gatis
Igor Gatis

Reputation: 4898

Is there a flat files JDO implementation?

I have a simple app I'd like to use JDO. But I don't want to use any DB back, just regular file system. Before jdo, I had this class it serializes it object to a file whereas file name is the "primary key". I'd like to be able to do the same thing with JDO. Is that possible?

Upvotes: 4

Views: 349

Answers (3)

Christian Ernst
Christian Ernst

Reputation: 11

Perhaps DataNucleus is a choice for you as it supports different kind of storage backends. The xml storage plugin or the embedded database db4o storage plugin might be an option, but both use a single file for all objects instead of one file per object.

Upvotes: 1

Neil Stockton
Neil Stockton

Reputation: 11531

Some time ago I used the JDO 1.0.1 file implementation and worked fine for my simple cases

Upvotes: 0

DataNucleus
DataNucleus

Reputation: 15577

Reference Implementation for JDO 1.0 used flat files. Look at Apache JDO which ought to contain the original files

Upvotes: 2

Related Questions