You are here: Platform Specific Issues > Android > Comparison With SQLite > Closing a Database

Closing A Database

The following methods will close SQLite and db4o database accordingly:

SQLite

_db.close();
SqlExample.java: close SQLite

db4o

container.close();
Db4oExample.java: close db4o