I have two application. One of those should write data to database, and another should read data. But "reader" throw exception "database locked".
What ways can be found out of this situation.
it seems that the database isolation level is set to the serializable, which is the highest one among four. since two applications can access the database simultaneously, the read-only one can read some uncommitted data while write-only one is updating data but not commit yet.
So, if you are sure you want to read data while another one is updating, you can change the isolation level of the database. hope it helps.