Example usage for android.database.sqlite SQLiteConnection close

List of usage examples for android.database.sqlite SQLiteConnection close

Introduction

In this page you can find the example usage for android.database.sqlite SQLiteConnection close.

Prototype

void close() 

Source Link

Usage

From source file:io.requery.android.database.sqlite.SQLiteConnectionPool.java

private void closeConnectionAndLogExceptionsLocked(SQLiteConnection connection) {
    try {/*from  w  w  w .  j a  v a2  s.  c  om*/
        connection.close(); // might throw
    } catch (RuntimeException ex) {
        Log.e(TAG, "Failed to close connection, its fate is now in the hands " + "of the merciful GC: "
                + connection, ex);
    }
}