While performance is improved, note that under these conditions, a commit no longer guarantees that the transaction's modification will survive a system crash or JVM termination, the database may not recover successfully upon restart, a near-full disk at runtime may cause unexpected errors, and the database may be in an inconsistent state.
WARNING: The database is booted with derby.system.durability=test. In this mode, it is possible that database may not be able to recover, committed transactions may be lost, and the database may be in an inconsistent state. Please use this mode only when these consequences are acceptable.A similar message will appear in the derby.log file if the database was booted with derby.system.durability=test at any time previously.
Once the database is booted with derby.system.durability=test, there are no guarantees that the database is consistent.
This property is ignored by default.
The only supported value is test.
derby.system.durability=test
Since this is a system property, you can set it in the derby.properties file or on the command line of the JVM when starting the application.
You might enable this property when using Derby as a test database where consistency or recoverability is not an issue.
This property is static; if you change it while Derby is running, the change does not take effect until you reboot.