SQLiteDatabase.JournalModeOff Field

Definition

The OFF journaling mode disables the rollback journal completely.

[Android.Runtime.Register("JOURNAL_MODE_OFF", ApiSince=33)]
public const string JournalModeOff;
[<Android.Runtime.Register("JOURNAL_MODE_OFF", ApiSince=33)>]
val mutable JournalModeOff : string

Field Value

Attributes

Remarks

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 behaves in an undefined way thus applications must avoid using the ROLLBACK command. If the application crashes in the middle of a transaction, then the database file will very likely go corrupt.

See here for more details.

Java documentation for android.database.sqlite.SQLiteDatabase.JOURNAL_MODE_OFF.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to