Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的问题很简单。
我有不属于任何父级的用户实例,因此他们的实体组是根。我想将它们添加到使用 Objectify 的事务中。问题是我不知道如何告诉 objectify User parent 是 root,当我执行多个 put(User) 时,我得到:
operating on too many entity groups in a single transaction
我应该向用户添加某种特殊的@Parent 吗?
您需要进行跨组交易 https://developers.google.com/appengine/docs/java/datastore/transactions