Hi SQLite experts/users

In my multi-user app (Win32, SQLite3.3.4), one database file for each
company (accounts).  User can access company accounts in two modes, normal
mode and exclusive mode. In exclusive mode, only one user will have access,
no other user should be able to access that company database.

I know that BEGIN EXCLUSIVE allows such access. User may enter info even in
exclusive mode. 
But when user enters and saves some info, I need to COMMIT and again need to
issue BEGIN EXCLUSIVE (because I can't wait till last for commiting). Before
issuing BEGIN EXCLUSIVE again, in-between, if other user gets access to
database, then first user (with exclusive mode) will not be able to maintain
his/her exclusive access.

How to maintain EXCLUSIVE access to database continuously (need to COMMIT
data in-between) ?
i.e. is there any way to maintain EXCLUSIVE access, and still commiting data
in-between ?

Thanks for any guidance.

Rohit
-- 
View this message in context: 
http://www.nabble.com/How-to-maintain-EXCLUSIVE-access-to-database-continuously---tf2326092.html#a6471314
Sent from the SQLite mailing list archive at Nabble.com.


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to