Several new device client APIs in Sybase Unwired Platform version 1.2.2 enhance performance.
See the
Sybase Unwired Platform 1.2.2 Client Object API Cookbook at
http://www.sybase.com/developer/library/suptechcorner for information about these APIs, which include:
-
Evict – removes orphan mobile business object instances.
-
IsPendingOverwritten – checks to see if the record to be updated is overwritten after the sync.
-
<MBO>PendingState – returns the updated and saved state of the object.
-
FindByOperationId – helps identify which record each error message in the sync log refers to when changes made on the client side are uploaded to the server.
-
GetDataCount(Query query) – public static int called by the client to learn in advance the number of mobile business objects this query will fetch if it is passed to the Find(Query) method.
-
Load[relationship_name](List<parent_mbo_name>) – this batch preload API improves performance by batching and preloading all relationship data in mobile business objects into memory so that multiple calls to the database for relationship data are not necessary.