tri.close();
    public Community getParentCommunity() throws SQLException    {        Community parentCommunity = null;        // Get the table rows        TableRowIterator tri = DatabaseManager                .query(                        ourContext,                        "community",                        "SELECT community.* FROM community, community2community WHERE "                                + "community2community.parent_comm_id=community.community_id "                                + "AND community2community.child_comm_id="                                + getID());        // Make Community object        if (tri.hasNext())        {            TableRow row = tri.next();            // First check the cache            Community fromCache = (Community) ourContext.fromCache(                    Community.class, row.getIntColumn("community_id"));            if (fromCache != null)            {                parentCommunity = fromCache;            }            else            {                parentCommunity = new Community(ourContext, row);            }        }        return parentCommunity;    }