Theoretically, yes. But SessionPool does not do any checking in regards to simultaneous DB access, so what will happen there depends on how you are accessing it. SQLite DB is a single file, thus different from a typical DBMS server handling simultaneous access from many sessions. You could devise your own locking scheme inside the DB to deal with that.

alex wrote:SQLite DB is a single file, thus different from a typical DBMS server handling simultaneous access from many sessions. You could devise your own locking scheme inside the DB to deal with that.

I have to correct this. I thought we were compiling SQLite by default in multi-threaded mode. It is actually compiled in serialized mode and it should be safe to access it from different threads. See Poco::Data::SQLite Makefile and SQLite And Multiple Threads document for details.