java - Is it safe to use 'FILE_LOCK=NO' in H2? -
If I use "FILE_LOCK = NO" in my H2 database, then what are the threats? The H2 web site says that I will need to preserve the database within the application. How do I do that? And what is the risk of deactivating file lock?
Is there any other way that I can allow multiple users to access the database at the same time?
Thanks in advance for any helpful reactions.
No, it is not protected FILE_LOCK = NO
Use In the future version of H2, most likely it will no longer be supported.
The danger is that at the same time, two applications open the same database file to write, in this case the database will be most likely corrupted.
Comments
Post a Comment