具体不解释:http://code.google.com/p/datanucleus-appengine/issues/detail?id=24
Root cause:
org.datanucleus.exceptions.NucleusUserException: Object Manager has been closed
Are you using Google App Engine for java and JDO?
If you ask for a list of something you might have to call the method size(). (studip i know)
The code below would throw org.datanucleus.exceptions.NucleusUserException: "Object Manager has been closed" if we removed the call to size().
本文探讨了使用Google App Engine for Java和JDO时遇到的ObjectManagerhasbeenclosed异常问题。该问题可能发生在获取对象列表并调用size()方法之后关闭持久化管理器的情况下。通过提供一个具体的示例代码片段来说明问题,并指出移除size()调用可以避免此异常。

被折叠的 条评论
为什么被折叠?



