java - What is the JDO equivalent of datastore's query.setAncestor(Key key)? -


i have been looking everywhere trying figure out jdo equivalent of google app engine's low-level api function: .setancestor(key key) is. have not been able find anywhere! i've read type of behavior not supported in native jdo. true? can't this?

i don't think supported natively, can use query:

pm.newquery("select myelement myparent == :parent");  

note little different, though, low-level api setancestor search all descendants. , have establish one-to-one or one-to-many relationship via jdo.

see: http://groups.google.com/group/google-appengine-java/browse_thread/thread/b07c62030e7bbcb8


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -