I am also new to JDO :) but this is what I am doing currently: By setting @Persistent(defaultFetchGroup = "true") on the child/ children loading the parent will automatically load all children ... Does this help? Or do you need to get children only without their parent ?
See => http://code.google.com/intl/de-DE/appengine/docs/java/datastore/relationships.html "Child objects are loaded from the datastore when they are accessed for the first time. If you do not access the child object on a parent object, the entity for the child object is never loaded. If you want to load the child, you can either "touch" it before closing the PersistenceManager (e.g. by calling getContactInfo() in the above example) or explicitly add the child field to the default fetch group so it's retrieved and loaded with the parent:" @Persistent(defaultFetchGroup = "true") regards hani -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
