{"action":"closed","issue":{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/222","labels_url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/222/comments","events_url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/222/events","html_url":"https://github.com/litehelpers/Cordova-sqlite-storage/issues/222","id":63792720,"number":222,"title":"Better Android sqlite database library","user":{"login":"brodybits","id":1559888,"avatar_url":"https://avatars.githubusercontent.com/u/1559888?v=3","gravatar_id":"","url":"https://api.github.com/users/brodybits","html_url":"https://github.com/brodybits","followers_url":"https://api.github.com/users/brodybits/followers","following_url":"https://api.github.com/users/brodybits/following{/other_user}","gists_url":"https://api.github.com/users/brodybits/gists{/gist_id}","starred_url":"https://api.github.com/users/brodybits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brodybits/subscriptions","organizations_url":"https://api.github.com/users/brodybits/orgs","repos_url":"https://api.github.com/users/brodybits/repos","events_url":"https://api.github.com/users/brodybits/events{/privacy}","received_events_url":"https://api.github.com/users/brodybits/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-23T18:08:59Z","updated_at":"2015-12-23T20:32:44Z","closed_at":"2015-12-23T20:32:44Z","body":"The built-in Android database library had some major deficiencies in the past and has gone through some updates. Unfortunately, some people have reported some issues with locking and also losing data (see #193), for which a workaround has been published. The workaround is basically a real kludge that simply closes and reopens the database whenever a transaction is committed (not provided for the case of `db.executeSql()`). But someone was still having problems even *with* the workaround in place. I find this condition is absolutely unacceptable!\r\n\r\nAnother workaround is to use the version for sqlcipher (with no password key specified) at: https://github.com/brodysoft/Cordova-sqlcipher-adaptor\r\n\r\nA better solution would be to include and use sqlite4java (https://code.google.com/p/sqlite4java/), which seems to be much thinner. Unfortunately Google Code will be shut down, so I just raised https://code.google.com/p/sqlite4java/issues/detail?id=75 to migrate that project and also made a clone here: https://sourceforge.net/projects/brody-sqlite4java/\r\n\r\n**UPDATE:** sqlite4java Javadoc here: http://almworks.com/sqlite4java/javadoc/com/almworks/sqlite4java/package-summary.html"}}