I have two service classes like Service A and Service B running simultaneously. The two services need SQLite data from a single table. When two queries are executed simultaneously, the application crashes when data is fetched from one table. Here is what I mean:
Service A
{
db.getdata();
}
Service B
{
db.getdata();
}
Is there any way to execute the same query simultaneously on a single table? If so, how?