/** * Sets the journal mode for databases associated with the current database connection. * * @param mode One of DELETE, TRUNCATE, PERSIST, MEMORY, WAL or OFF. * @see <a href="http://www.sqlite.org/pragma.html#pragma_journal_mode"> * http://www.sqlite.org/pragma.html#pragma_journal_mode</a> */ public void setJournalMode(String mode) { config.setJournalMode(JournalMode.valueOf(mode)); }