Delete an entity by key without fetching it first in app engine (using JDO)
- by Peter Recore
Is there a way to delete an entity without having to fetch it from the datastore first? I am assuming I already have the key or id for the entity.
I'm thinking of something like deleteObjectById that would be an analogue to getObjectById on PersistenceManager.
The closest I can think of is using Query.deletePersistentAll() (as seen here) and…