The db-journal left with 0b upon insertions but also queries, is an issue I started facing with multiple sql handling some time ago, ie from different modules, thus very similar to your case. I had been really busy with some things, hopefully I'll have some hours this weekend for checking such 'problems'. If I find something helpful, I'll notify immediately. In the mean time, and if you're not concerned too much about db copying, Erel's response can fully cover us.