How to use SQLite in a multi-threaded application?

前端 未结 7 1002
情书的邮戳
情书的邮戳 2020-11-28 02:43

I\'m developing an application with SQLite as the database, and am having a little trouble understanding how to go about using it in multiple threads (none of the other Stac

7条回答
  •  日久生厌
    2020-11-28 03:14

    If you use connection pooling, like in Java EE, web application, set the connection pool max. size to 1. Access will be serialized.

提交回复
热议问题