emilsjolander / sprinkles

Sprinkles is a boiler-plate-reduction-library for dealing with databases in android applications
Apache License 2.0
772 stars 84 forks source link

Write-Ahead Logging & transaction concurency #82

Open gingo opened 9 years ago

gingo commented 9 years ago

Will be great to add support for WAL:

http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#enableWriteAheadLogging()

and allow enabling cocurency when writing data in long-running transaction:

http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#beginTransactionNonExclusive()

currently the database is locked for reads and background sync with time-consuming transaction is not possible.