More additions to SqlLiteAdapter

It still doesn't work and I need to set up a weinre test server to
properly debug it.
Revert da5ad7b81cc91abb638f705a8794ba608a5d0bb2