Page 1 of 1

DevArt ODBC drivers - DB file lock issue

Posted: Wed 19 May 2021 12:27
by nitinkumar
Hello All,

We are using DevArt ODBC drivers for accessing SQLite DB using .Net ODBC library.

However, when the data is inserted in the DB, the DB file remains locked for some time (approx. 2-3 minutes) even though the DB connection is closed. This is creating problems for us.

Is there any way to release the lock immediately after closing the DB connection? Any help would be greatly appreciated.

Regards,
Nitin

Re: DevArt ODBC drivers - DB file lock issue

Posted: Tue 01 Jun 2021 15:32
by MaximG
We have found that the issue is caused by the Connection Pooling option in ODBC Administrator. To disable pooling, open ODBC Administrator, select the 'Connection Pooling' tab, then choose our driver and double-click 'Set Connection Option Attributes'. Select 'Don't pool connections to the driver' and click OK.