Immediately update the cache with Apply merge of operation – the attributes passed in from the client are combined with the
results from the EIS, and merged into the cache using a
graph-based merge algorithm. All MBOs in the composite
relationship must be mapped to a result. The legacy "Apply
results to the cache" mode is used if only one result is
mapped; otherwise, all MBOs in the composite relationship
must be mapped to a result.
Operations with this
cache policy and option cannot be combined with the
"Invalidate the cache" policy if more than one result is
mapped.
Immediately update the cache with Apply output of Entity Read
operation – the results from the EIS operation determine the primary key of
the entity to be read from the EIS. You can also use client
attributes to specify the primary key when the primary key is
not contained in the EIS result. The entity is read in its
entirety using the specified Entity Read operation. The result
is merged into the cache using a graph-based merge algorithm.
All MBOs in the composite relationship must be mapped to an
entity read result, otherwise, the MBO model is invalid. You
must create an Entity Read
operation
before you can use this cache
policy.Operations with this cache policy and option
cannot be combined with the "Invalidate the cache" policy.
Legacy Immediately update the cache (Apply results to the
cache) – if an operation uses the "Immediately update the cache" policy
with the "Apply merge of operation input/output" option, and
only one result is mapped, the legacy "Apply operations results"
behavior is used, including the ability to upsert many MBO
instances into the cache if the associated EIS operation returns
more than one MBO instance. SAP Mobile WorkSpace does not
indicate that legacy mode is used, but the API infers this
from the fact that only one result is mapped. Legacy "Apply
results to the cache" simply upserts rows into the cache. It
does not perform a graph-based merge and consequently does
not detect deletions.