If you're using com.google.appengine.api.datastore.Key for your primary keys,
it has a getParent() method which returns null when the object doesn't have a
parent. Also, your code is fetching a List of Entity, and Entity also has a
getParent() which returns null if there is no parent.
m
Hi.
Thank you for following.
Movement might be different depending on the entry method in JDO.
thanks.
--
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.
Hi,
If you specify kind if it is lowlevelapi
I think that it is possible to acquire list of entity
How about the following examples?
String kindName = kindName; // abandoned children kindname
DatastoreService service = DatastoreServiceFactory.getDatastoreService
();
Query query = new
Thanks for answering. With this list, how can I tell if a given
entity of that kind has a parent or not?
Thanks,
Brian
On Thu, Dec 17, 2009 at 8:26 PM, m seleron seler...@gmail.com wrote:
Hi,
If you specify kind if it is lowlevelapi
I think that it is possible to acquire list of entity
Sorry, did not have enough explanation.
I corrected it a little.
I think that the method of confirming the parent existence is simple.
It uses Entity#getParent()
How about the following examples?
String parentKindName = parentKind; //Parent Kindname
String kindName = kindName; // Child