Hi I am using objectify in my appengine application and I have problems with my ancestor queries My model is designed as follow:
class A { public B getB() { return Ofy.getOfy().get().query(B.class).ancestor(this).get(); } public C getC() { return Ofy.getOfy().get().query(C.class).ancestor(this).get(); } } class B { @Parent private A a; public C getC() { return Ofy.getOfy().get().query(C.class).ancestor(this).get(); } } class C { @Parent private B b; } Only the getB() method of the class A works and returns the entity B. All the others return null and I don't understand why? Could you help me please? Thanks PA -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.