tri.close();
    public static void loadDC(Context context) throws SQLException    {        // First get the highest ID so we know how big to make the array        TableRow row = DatabaseManager.querySingle(context,                "SELECT MAX(dc_type_id) AS foo FROM dctyperegistry");        int numberFields = row.getIntColumn("foo") + 1;        elements = new String[numberFields];        qualifiers = new String[numberFields];        // Grab rows from DB        TableRowIterator tri = DatabaseManager.query(context,                "SELECT * FROM dctyperegistry");        while (tri.hasNext())        {            row = tri.next();            int id = row.getIntColumn("dc_type_id");            elements[id] = row.getStringColumn("element");            qualifiers[id] = row.getStringColumn("qualifier");        }    }