Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 1
Registered: ‎10-30-2011
My Device: 9810
My Carrier: developer

Corruption when trying to connect to the Database

We have an application that uses the Database,


We have a problem when the application is goes to offline, then after trying to connect to the Database we got an exception that says

“the statement callback raised an exception or statement error callback did not return false”


Refresh is not helping and also deleting all storage data not help, but disconnecting the battery is help  (restart the handset) and then I can continue working with old database.

My code is running on several devices (iPhone, iPad and also Android OS) and I never seen this problem before.


It seems that the OS not succeed to connect to the Databases.db file



Posts: 14
Registered: ‎05-19-2012
My Device: bb playbook
My Carrier: none

Re: Corruption when trying to connect to the Database

[ Edited ]

i was having the same issues with a database for playbook OS. if the error code is 0 then it is not database related. see this:http://www.whatwg.org/specs/web-apps/2007-10-26/multipage/section-sql.html


it means the "success" callback function might have some errors.