Featured classes

net.rim.device.api.database.Row

The Row class represents a row in a result set that a SELECT query returns.

This class provides methods for retrieving column indices in the Row object and the values stored in the Row object's columns.

You create this class using the Cursor.getRow() method.

net.rim.device.api.database.DatabaseFactory

The DatabaseFactory class provides methods for creating, opening, configuring, and deleting a new or existing Database. Configuration options include persistent or nonpersistent storage and encryption.

To create a new database, you must use the DatabaseFactory.openOrCreate() method or the DatabaseFactory.create() method. If you have already created the database, the DatabaseFactory.openOrCreate() method returns a reference to the database.

Create the database on a media card instead of in device memory. Only certain BlackBerry devices support storing an SQLite database in device memory.

Previous topic: Featured interfaces

Was this information helpful? Send us your comments.