proxifier.ensureProxy(entity);
Object realObject = proxifier.getRealObject(entity);
entityValidator.validateEntity(realObject, entityMetaMap);
optionsValidator.validateOptionsForUpsert(entity, entityMetaMap, options);
PersistenceManagerOperations context = initPersistenceContext(realObject, options);
return context.update(entity);
}
protected <T> AchillesFuture<T> asyncInsertOrUpdate(T entity, Options options) {
entityValidator.validateEntity(entity, entityMetaMap);
if (proxifier.isProxy(entity)) {