Is there a way to delete an object without having to retrieve it from the data store? I assume that I already have a key or identifier for the object. I am thinking of something like deleteObjectByIdthat would be analogous getObjectByIdto PersistenceManager.
The closest I can think of is using Query.deletePersistentAll()(as shown here ) and specifying a request that depends only on the key, but I cannot say whether it will be possible to delete the object before deleting it.
thanks
EDIT: I know how to do this using the low level API as well as the python API. I was wondering if there is a way to do this in the JDO layer.
source
share