{"push_id":557778427,"size":1,"distinct_size":1,"ref":"refs/heads/transactions","head":"d6181902b5688fd47405043e8d49b6c7aba3e4e3","before":"11f97bf3dff497471394e9e05298cb546bff4184","commits":[{"sha":"d6181902b5688fd47405043e8d49b6c7aba3e4e3","author":{"email":"e89db25458823217e8a5d3c0513320920300cff9@ing.puc.cl","name":"jlhonora"},"message":"Better concurrency support\n\nDB concurrency is tricky in Android. The following changes\nallow a better handling of multithreaded db access:\n\n - Write ahead logging is enabled\n - Connection is configured in onConfigure (SQLiteOpenHelper)\n - Transactions are made in non-exclusive mode\n\nReferences:\n\n - http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#enableWriteAheadLogging()\n - http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html#onConfigure(android.database.sqlite.SQLiteDatabase)\n - http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.0.1_r1/android/database/sqlite/SQLiteDatabase.java#SQLiteDatabase.beginTransaction%28android.database.sqlite.SQLiteTransactionListener%2Cboolean%29\n - https://www.sqlite.org/lockingv3.html#reserved_lock\n - https://www.sqlite.org/lang_transaction.html\n - http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#beginTransactionNonExclusive()","distinct":true,"url":"https://api.github.com/repos/jlhonora/ActiveAndroid/commits/d6181902b5688fd47405043e8d49b6c7aba3e4e3"}]}