Featured interfaces

net.rim.device.api.Database

The Database interface represents the database. This interface provides methods for changing a database on the BlackBerry device, including methods for creating SQL statements to add, delete, or update records in the database and methods for committing and canceling transactions in the database. This interface also provides methods for setting and retrieving the database's metadata.

To create the database, you can use one of the methods of the DatabaseFactory class.

The sample application uses this interface to create statements to insert, delete, and update records in the database.

net.rim.device.api.Statement

The Statement interface represents an SQL statement. You can use the Statement interface to retrieve, add, delete, or change entries in the database.

net.rim.device.api.Cursor

The Cursor interface provides methods for traversing a result set that is retrieved using the Statement object. A Statement object creates the Cursor object using the Statement.getCursor() method as part of its query process. Therefore, a Cursor is always associated with a specific query.

Next topic: Featured classes

Was this information helpful? Send us your comments.