Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Coding a Mobile Application : Mobile Designer-Provided Run-Time Classes : Run-Time Database Classes
Run-Time Database Classes
Mobile platforms can support a database. For example, many platforms support the SQLite database. Mobile Designer provides the com.softwareag.mobile.runtime.database library that contains classes and methods you can use in your mobile applications to execute SQL statements. Using the database library allows your mobile application to access database information. The database library provides a uniform manner for using a database independent of the target platform and database system. For more information about the database library, see the webMethods Mobile Designer Java API Reference.
Note:  
Support for the database library is provided only for the following platforms:
*Android
*iOS
*Phoney
*Windows Phone 8
*Windows 8
*Windows RT
To use the database library in a mobile application, you must set the project.handset.uses.Database project property to true.
For an example that illustrates how to use the database library, see the NativeUI Database sample.
Important:  
On most platforms, the Cursor class is a Buffered Cursor, which stores all query results in memory. Use caution when querying database tables that contain data that uses the Blob data type, for example, images.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback