Thanks for the info! On Wed, Dec 7, 2016 at 11:02 AM, R Smith <rsm...@rsweb.co.za> wrote:
> Yes, multiple access is a feature, a basic necessity even. > > The answer is here: > http://www.sqlite.org/pragma.html#pragma_busy_timeout > > Explanation: > https://www.sqlite.org/c3ref/busy_timeout.html > > and > http://www.sqlite.org/tclsqlite.html > see the section: The "timeout" method > > > > On 2016/12/07 8:54 PM, Jay Weinstein wrote: > >> Hi, >> >> I’m running two programs, one written in java and one written in C, which >> are both trying to access a sqlite database. I'm getting the error >> org.sqlite.SQLiteException: [SQLITE_BUSY] The database file is locked >> (database is locked) when I run both as separate processes and when the >> java app launches the c program with ProcessBuilder. Is there away for >> two process to read and write a sqlite database? >> >> Thanks, >> Jay >> >> >> _______________________________________________ >> sqlite-users mailing list >> sqlite-users@mailinglists.sqlite.org >> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users >> > > _______________________________________________ > sqlite-users mailing list > sqlite-users@mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users