Java JDO 问题 (Google App Engine),(PersistenceManager)pm.close 之后发生什么
我是 JDO 的新手。我用的是日食。
我使用(PersistenceManager)pm.close进行测试后,现在我删除这个pm.close。但是,即使重新启动计算机后,我仍然找不到打开或创建新窗口的方法。
每次,PersistenceManager都会显示此错误,对象管理器已关闭
并且我找不到直接编辑JDO记录的方法。
你能帮我吗?先感谢您。
I'm a newbie in JDO. I use eclipse.
After I use (PersistenceManager) pm.close for test, now I delete this pm.close. However I still could not find a way to open or create a new one, even after I restarted the computer.
Every time, PersistenceManager show this error, Object Manager has been closed
And I could not find a way to direct edit JDO records.
Could you help me? thank you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你在找那个吗?
http://db.apache.org /jdo/api20/apidocs//javax/jdo/PersistenceManagerFactory.html#getPersistenceManager()
和
http://code.google.com/intl/pl/appengine/docs/java/datastore/usingjdo.html
查询:
http://code.google.com/intl/pl/appengine/docs/java /datastore/queriesandindexes.html
(我不想在这里复制所有内容)
(您不需要重新启动计算机)
are you looking for that?
http://db.apache.org/jdo/api20/apidocs//javax/jdo/PersistenceManagerFactory.html#getPersistenceManager()
and
http://code.google.com/intl/pl/appengine/docs/java/datastore/usingjdo.html
querying:
http://code.google.com/intl/pl/appengine/docs/java/datastore/queriesandindexes.html
(i don't want to copy all this here)
(you dont need to restart your computer)