public Vector<String> getRecordInfo(Connection conn,
                                  String itemID,
                                  String mdPrefix) throws ServerException {
        Statement stmt = null;
        ResultSet rs = null;
        Vector<String> result = new Vector<String>();
        try {
            stmt = getStatement(conn, false);
            String query = "SELECT rcRecord.recordkey, rcRecord.xmlPath, rcRecord.modDate from rcItem, rcRecord, rcFormat "
                + "WHERE rcItem.identifier = " + qss(itemID)
                + "AND rcItem.itemKey = rcRecord.itemKey "
                + "AND rcRecord.formatKey = rcFormat.formatKey "
                + "AND rcFormat.mdPrefix = " + qss(mdPrefix)
                + "AND state = 'valid'";
            
            rs = executeQuery(stmt, query);
            
            
            if (rs.next()) {
                String key = rs.getString(1);
                String path = rs.getString(2);
                result.add(path);
                Date d = new Date(rs.getLong(3));
                String dateString = null;
                try {
                    dateString = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(d);
                result.add(dateString);
                String selectSetSpec =
                    "SELECT setSpec FROM rcSet, rcMembership WHERE rcmembership.recordKey =" + key
                    + " AND rcSet.setKey = rcMembership.setkey";         
                Statement newStmt = getStatement(conn, false);
                ResultSet rs1 = executeQuery(newStmt, selectSetSpec);
                
                while (rs1.next()) {
                    String setSpec = rs1.getString(1);
                    result.add(setSpec);
                }
                } catch (Exception e) {
                    // won't happen
                }
                return result;
            }
            else {
                return null;
            }
        }
        catch (SQLException e) {
            throw new ServerException("Error determining if item exists: "
                + itemID, e);
        }
        finally {
            if (rs != null)
                try {
                    rs.close();
                }
                catch (Exception e) {
                }
            if (stmt != null)
                try {
                    stmt.close();
                }
                catch (Exception e) {
                }
        }
    }