tri = DatabaseManager.query(ourContext, "dcresult", "SELECT * FROM dcresult WHERE item_id=" + itemRow.getIntColumn("item_id"));
tri = DatabaseManager.query(ourContext, "dcvalue", "SELECT * FROM dcvalue WHERE item_id=" + itemRow.getIntColumn("item_id") + " ORDER BY place;");
    Item(Context context, TableRow row)        throws SQLException    {        ourContext = context;        itemRow = row;        dublinCoreChanged = false;        dublinCore = new ArrayList();        bundlesChanged = false;        bundles = new ArrayList();        // FIXME        submitter = null;                // Get bitstreams        TableRowIterator tri = DatabaseManager.query(ourContext,            "bundle",            "SELECT bundle.* FROM bundle, item2bundle WHERE " +                "item2bundle.bundle_id=bundle.bundle_id AND " +                "item2bundle.item_id=" +                itemRow.getIntColumn("item_id") + ";");        while (tri.hasNext())        {            TableRow r = (TableRow) tri.next();            bundles.add(new Bundle(ourContext, r));        }        // Get Dublin Core metadata        tri = DatabaseManager.query(ourContext, "dcresult",            "SELECT * FROM dcresult WHERE item_id=" +                itemRow.getIntColumn("item_id"));        while (tri.hasNext())        {            TableRow resultRow = (TableRow) tri.next();            // Get the Dublin Core type            TableRow typeRow = DatabaseManager.find(ourContext,                "dctyperegistry",                resultRow.getIntColumn("dc_type_id"));            // Make a DCValue object            DCValue dcv = new DCValue();            dcv.element = typeRow.getStringColumn("element");            dcv.qualifier = typeRow.getStringColumn("qualifier");            dcv.value = resultRow.getStringColumn("text_value");            dcv.language = resultRow.getStringColumn("text_lang");            // Add it to the list            dublinCore.add(dcv);        }    }