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

Web and WebWorks Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Posts: 128
Registered: ‎08-01-2008
My Device: Bold 9900, 9810, 9780, 9650 and so many others
My Carrier: T-Mobile
Accepted Solution

DB Concurrency issue in OS 7


We are doing some regression testing on a real device running OS 7 ( and we are seeing some strange errors at a particular point. Here is the scenario:

1. User clicks a button

2. Using window.open we open a separate tab. This newly opened tab does some processing including DB updates and XHR

3. The original tab/windows continues to process and also does some DB updates.

4. Intermittently we see the following message: unable to open a transaction to the database. Error code 1


Based on the error text, we are assuming that this is a locking issue on the DB. However, what is strange is that we have never seen this issue in OS6. Has something changed in OS 7 that makes the DB engine behave differently? Or perhaps our hypothesis is wrong completely.


Any ideas/suggestions would be welcome.



Posts: 518
Registered: ‎07-18-2011
My Device: Bold
My Carrier: Rogers

Re: DB Concurrency issue in OS 7

Hi Alon,


I believe this is caused by the fact that prior to 7.0, there was only one JavaScript threead for the whole browser independant of the tab you were running on. Starting in 7.0 each tab has its own thread.

1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)
Posts: 128
Registered: ‎08-01-2008
My Device: Bold 9900, 9810, 9780, 9650 and so many others
My Carrier: T-Mobile

Re: DB Concurrency issue in OS 7

Thanks makes a lot of sense. Thanks. 

I have sent an email off to my RIm contact and if he responds with any further details I will post here.