Creating a Mobile Business Object From a Database

Create a mobile business object (MBO) with defined attributes and operations by binding to a database table or view.

Prerequisites 
  1. Drag the data source, for example a database table or view or a stored procedure, from the Server Explorer and drop it onto the mobile application diagram.

    The Mobile Business Object wizard opens with the data source information populated, the SQL query statement automatically generated, attribute-to-column mapping, and parameter-to-argument mapping.

    Note:
    • When using an ASA Native client connection, you cannot drag and drop a stored procedure from the Server Explorer to the mobile application diagram to create an MBO.
    • If you create the MBO by dragging and dropping a stored procedure onto the mobile application diagram, Scalar and CURSOR output parameters are supported. Scalar parameters are common to all databases and CURSOR parameters are exclusive to Oracle DB2 databases.
    • When using drag and drop to generate an MBO from either a stored procedure or a view, the SQL statement is automatically generated.
  2. Follow the wizard instructions and click Finish to complete the MBO.

    Attribute and operation information varies, depending on the selected data source.

Related concepts
Mobile Application Diagram
Synchronization
Related reference
Attribute Properties
Operation Properties
Supported Data Sources
Mobile Business Object Properties


Created September 17, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com