I am using an embedded database file, on start up of my app, i will open the database file, only when the app exit, i close the database file, is it a best practice?
should i use it the traditional open-update-close fashion?
I am using an embedded database file, on start up of my app, i will open the database file, only when the app exit, i close the database file, is it a best practice?
should i use it the traditional open-update-close fashion?
There's nothing wrong with this approach as long as: