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 Query(kindName);
PreparedQuery pq = service.prepare(query);
List<Entity> list = pq.asList(FetchOptions.Builder.withOffset(0));

for (Entity e : list) {
        e.getProperty("xx"); //get property
        ....
}

Please try .
thanks.

On 12月17日, 午後1:56, Brian Hayward <[email protected]> wrote:
> So I read in the documentation that deleting parents via the admin
> console will create abandoned children because owned relationships are
> managed by JDO.  Is there a query that can find abandoned children of
> a given kind?
>
> Thanks,
> Brian

--

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.


Reply via email to