views:

15

answers:

0

I have the Entity object and I want to get the object. Currently, I'm using

PersistenceManager.getObjectById(Object.class, Entity.getId());

The problem with this is that it is an extra call to the datastore when all of the properties are already available in the Entity.