On 1 Jul 2011, at 3:51am, Cecil Westerhof wrote:

> 2011/6/30 Jean-Christophe Deschamps <j...@antichoc.net>
> 
>> If you _need_ exclusiveaccess all along, then start app, "begin
>> exclusive", do your stuf, "commit" and exit.
> 
> The 'problem' is that the application can run for the whole day.

There's no problem with this.  You can maintain an EXCLUSIVE lock on the 
database for the whole day.  You can even maintain it while you're waiting an 
unknown amount of time for user input.  SQLite will happily keep the database 
locked the whole time.

Some may argue that this would be bad use of resources but that's a different 
matter.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to