Hi All

I am using MVStore on android and the store get's sometimes corrupted. I 
have uses close() when closing DB.

store = new 
MVStore.Builder().autoCommitDisabled().compressHigh().fileName(dbName).open();
store.setVersionsToKeep(0);
store.setReuseSpace(true);

I call store.commit() regularly and DB is closed with call 
closeImmediatelly()

What's the difference between calling 

store.setVersionsToKeep(0);
store.commit()
store.closeImmediatelly()

and calling only

store.close()

no commit() is called, and autoCommitDisabled()

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to