tri.close();
    Bundle(Context context, TableRow row) throws SQLException    {        ourContext = context;        bundleRow = row;        bitstreams = new ArrayList();        // Get bitstreams        TableRowIterator tri = DatabaseManager                .query(                        ourContext,                        "bitstream",                        "SELECT bitstream.* FROM bitstream, bundle2bitstream WHERE "                                + "bundle2bitstream.bitstream_id=bitstream.bitstream_id AND "                                + "bundle2bitstream.bundle_id="                                + bundleRow.getIntColumn("bundle_id"));        while (tri.hasNext())        {            TableRow r = (TableRow) tri.next();            // First check the cache            Bitstream fromCache = (Bitstream) context.fromCache(                    Bitstream.class, r.getIntColumn("bitstream_id"));            if (fromCache != null)            {                bitstreams.add(fromCache);            }            else            {                bitstreams.add(new Bitstream(ourContext, r));            }        }        // Cache ourselves        context.cache(this, row.getIntColumn("bundle_id"));    }