Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have two different SQLite tables and i want to upload data into two tables at the same time with out any deadlock. I tried but only one table is getting to update and once first one will complete then only second table is getting to update. So if i want to insert data into two tables same time what should i do.
Posted

1 solution

You may be able to utilise threading and update each table on a different thread - don't know if SQLite will allow that though.

This google search[^] has several articles and posts on threading with SQLite on Android
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900