开发者

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 开发者_StackOverflowthe same thing with JDO. Is that possible?


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


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜