首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 谷歌App Engine对象映射

谷歌App Engine对象映射

  • 资源大小:195.96 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: AppEngine 谷歌 映射 对象

资 源 简 介

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
VIP VIP
0.163972s