Friday, October 22, 2010

[android-developers] Error with DB onUpgrade

Hi,
I have multiple databases in my app.At the start of the application ,
i initialize all the databases and access columns from the required
tables.What i did is , for one of the databases i incremented the
version of the DB. So now i have started getting error of " No Such
table say ABCD while compiling " query.This table is in another DB
than the updated DB. I dont have any code in the onUpgrade right now..
Is there any thing thats striking anyone why this behavior is
happening? Is there anything that happens in the onUpgrade method that
causes all the DBs to be inaccessable temporarily. I am saying this
because if i place a breakpoint in onUpgrade and debug , then i wait
for a few seconds on the 1st stmt in onUpgrade and then everything
works fine...

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate