资 源 简 介
Latest Release
1.0.0-b1 - July 19, 2011
1.0.0-b2-SNAPSHOT may be more recent
Summary
This project aims to deliver a simple to use, yet powerful and performant object-datastore mapping engine.
First, you define your persistent objects
class MappingFramework{ String name; String description; boolean rocks;}
Then, you can store instances in an ObjectStoreSession
```
ObjectStore os = ObjectStore.Factory.create(); // usually done once per JVM
ObjectStoreSession oss = os.beginSession(); // usually done once per request and used throughout
MappingFramework gaeom = new MappingFramework();
gaeom.name = "gaeom";
gaeom.description = "Supah object-datastore mapping";
gaeom.rocks = true;
oss.store(gaeom).id(1).now(); // id() is option