Subject | Embedded Server 2.5 - how to get the file locking back |
---|---|
Author | somusque |
Post date | 2011-01-04T22:24:27Z |
Hello,
my application depends on the database file being locked and only accessible by one process. It relies on an error being triggered when multiple processes try to open the same database. That way, it prevents the same kind of job from being run multiple times in parallel.
Is there a way to get the file locking back, or what is the recommended way to prevent more than 1 database connection?
Cheers,
Tobias
my application depends on the database file being locked and only accessible by one process. It relies on an error being triggered when multiple processes try to open the same database. That way, it prevents the same kind of job from being run multiple times in parallel.
Is there a way to get the file locking back, or what is the recommended way to prevent more than 1 database connection?
Cheers,
Tobias