New and Updated APIs

See the Sybase Unwired Platform 1.2.4 Client Object API Cookbook at http://www.sybase.com/products/mobileenterprise/sybaseunwiredplatform?htab=USE for information about these APIs, which include:


  • Cache interval -1 behavior has changed so that an MBO with a cache size set to -1 will never have its primary read invoked. In earlier versions of Sybase Unwired Platform, an MBO with its cache size set to -1 would have its primary read invoked one time. The only way to get data from such an MBO is to push data to it using DCN or by operations with alternate cache update policies.
  • UpdateNewOnClient – use to re-save an MBO instance that is new on the device.
  • DeleteAllLogs – deletes all the logs associated with the application.
  • GetObjectPath – returns the path to the MBO on which the transaction was performed.
  • OriginalState –the behavior for the <MBO>.OriginalState.OriginalState API has changed so that if you try to retrieve OriginalState, it fails when an MBO is already in the origianl state (OriginalState = true).
  • MaximumOpenDatabaseConnections –set the maximum number of cached connections. This must be set before first access to the database. The minimum value is 1.
  • Two new APIs have been added to the Connection class:
    • DataBaseCacheSize
    • DatabasePageSize