Entity Read Operations

Entity Read MBO operations refresh a single instance of an MBO composite graph in the Unwired Server cache for Create and Update operations, and are typically used when the Create or Update operation cannot return the entire graph.

The input of the Entity Read operation is a primary key. The Entity Read operation is not called directly by a client; MBO Create and Update operations invoke it if the "Immediately update the cache" operation cache policy and the "Apply output of ENTITY READ operation" option are selected, to immediately apply the results of the Entity Read operation to the CDB.

For example, a mobile application client executes a Create operation. After the EIS to which the MBO is bound is updated, an immediate refresh of the cache for a composite object graph based on the definition of the Entity Read operation is triggered, if "Immediately update the cache" and "Apply output of ENTITY READ operation" were selected by the MBO developer for the Create operation.

The Entity Read operation uses operation arguments filled from MBO primary-key attributes to create a findByPrimaryKey Read operation.

Related tasks
Creating Attributes for a Mobile Business Object
Creating Operations for a Mobile Business Object
Creating the Mobile Business Object using the Mobile Business Object Palette item
Previewing Mobile Business Objects
Modifying Load Arguments
Related reference
Mobile Business Object Properties
Mobile Business Object Attribute Properties
Old Value Argument
Datatype Support
Mobile Business Object Operation Properties