Skip to content

//selekt-api/com.bloomberg.selekt/SQLiteJournalMode/OFF

OFF

[jvm]\ OFF

The OFF journaling mode disables the rollback journal completely. No rollback journal is ever created and hence there is never a rollback journal to delete. The OFF journaling mode disables the atomic commit and rollback capabilities of SQLite. The ROLLBACK command no longer works; it behaves in an undefined way. Applications must avoid using the ROLLBACK command when the journal mode is OFF. If the application crashes in the middle of a transaction when the OFF journaling mode is set, then the database file will very likely go corrupt. Without a journal, there is no way for a statement to unwind partially completed operations following a constraint error. This might also leave the database in a corrupted state.

Properties

Name Summary
databaseConfiguration [jvm]
@JvmField
val databaseConfiguration: DatabaseConfiguration
name [jvm]
val name: String
ordinal [jvm]
val ordinal: Int