Use SQLiteStatement instead of PreparedStatement and Cursor instead of ResultSet