Delete DB file with persistence lib
Hi,
For one of my project I need to do this :
- read a field in a database table
- make a remote call and compare returned value with the value returned by previous sql statement
- if not equals, I need to download a new databse file and overwrite the old one.
Using persistence lib I don't succed in doing this ! It seems that one or more connections are not closed, or maybe a db.begin() without rollback or commit. So I cannot delete the db file one I've make a first request... (file in use, or Error #3119: Database file is currently locked'.)
Hope you understand my poor english.. Can you please tell me how to do that ?
Thanks
