Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.
http://code.google.com/appengine/docs/java/datastore/jdo/queries.html#Delete_By_Query
They are saying that INSTEAD OF execute they do deletePersistentAll - not after it
Deleting Entities By Query
If you are issuing a query with the goal of deleting all the entities that match the query filter, you can save yourself a bit of coding by using JDO's "delete by query" feature. The following deletes all People over a given height:
Query query = pm.newQuery(Person.class);
query.setFilter("height > maxHeightParam");
query.declareParameters("i
query.deletePersistentAll(
You'll notice that the only difference here is that instead of calling query.execute(...) we are instead calling query.deletePersistentAll(