I posted this in the general discussion group, but I just realized
this is probably the better group for it.

I've been struggling to translate some Datastore approaches I see
documented in Python into Java.  One in particular is querying for
entities that have a given parent.  Do I have to use the low-level API
in Java for a query like that?  I can't find anything about querying
on parents in the main Java Datastore docs, which are oriented around
JDO.

I did find the com.google.appengine.api.datastore.Query.setAncestor()
method and ancestor accepting Query constructors in the low-level API
docs, and I guess that's what I'd need to use.  Is there any example
code using the low-level API?

I'd like to use JDO where I can, but I'm new to JDO, the Datastore,
and the low-level API, so I'm confused about if I should or how best
to use them together.  Again, sample code would be a big help.  Sorry
if I missed it, but all the sample apps appear to be in Python.

Thanks,
Tim

-- 
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-j...@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.

Reply via email to