Sqlite Cursor breaks in BlackBerry OS 6
The documentation for Database says:
If the Statement might return results, run the Statement by calling Statement.getCursor().
Statement.execute()
- Use when you want to explicitly prepare and close the Statement.
Since you want to access a result set, you shouldn't call Statement.execute(). getCursor() causes the query to execute, so you should be able to delete the execute() call to get the behavior you want.