bRow.getIntColumn("bitstream_id") + ";");
bRow.getIntColumn("bitstream_id") );
    public Bundle[] getBundles()        throws SQLException    {        // Get the bundle table rows        TableRowIterator tri = DatabaseManager.query(bContext,            "bundle",            "SELECT bundle.* FROM bundle, bundle2bitstream WHERE " +                "bundle.bundle_id=bundle2bitstream.bundle_id AND " +                "bundle2bitstream.bitstream_id=" +                bRow.getIntColumn("bitstream_id") + ";");        // Build a list of Bundle objects        List bundles = new ArrayList();                while (tri.hasNext())        {            TableRow r = (TableRow) tri.next();            // First check the cache            Bundle fromCache = (Bundle) bContext.fromCache(                Bundle.class, r.getIntColumn("bundle_id"));            if (fromCache != null)            {                bundles.add(fromCache);            }            else            {                bundles.add(new Bundle(bContext, r));            }        }        Bundle[] bundleArray = new Bundle[bundles.size()];        bundleArray = (Bundle[]) bundles.toArray(bundleArray);        return bundleArray;    }