0
爲什麼這2次提取會導致NotFoundException?Objectify NotFoundException
ofy().load().type(MyClass.class).id(myClassInstance.getId()).safeGet();
ofy().load().key(myClassInstance.getKey()).safeGet();
但這查詢返回的實體:
ofy().load().type(MyClass.class).filter("fieldName",myClassInstance.getUserId()).first().get();
附加信息: MyClass的含有@Parent和@Id場