Skip to content

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

PERSIST

[jvm]\ PERSIST

The PERSIST journaling mode prevents the rollback journal from being deleted at the end of each transaction. Instead, the header of the journal is overwritten with zeros. This will prevent other database connections from rolling the journal back. The PERSIST journaling mode is useful as an optimization on platforms where deleting or truncating a file is much more expensive than overwriting the first block of a file with zeros.

Properties

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