Project

General

Profile

« Previous | Next » 

Revision 423

Added by berkley over 23 years ago

changed xslf for new returnfield scheme. the returnfields are now returned as <param name="<returnfield>"> tags.
hThe sql for the returnfield query was redone to fix a previous problem with slow queries

View differences:

DBQuery.java
191 191
            
192 192
            document = new StringBuffer();
193 193

  
194
            document.append("<");
194
            document.append("<param name=\"");
195 195
            document.append(fieldname);
196
            document.append(">");
196
            document.append("\">");
197 197
            document.append(fielddata);
198
            document.append("</");
199
            document.append(fieldname);
200
            document.append(">");
198
            document.append("</param>");
201 199

  
202 200
            tableHasRows = rs.next();
203 201
            if(docListResult.containsKey(docid))
......
218 216
        System.err.println("Error printing qspec:");
219 217
        System.err.println(ioe.getMessage());
220 218
      }
219
    //System.out.println("docListResult: ");
220
    //System.out.println(docListResult.toString());
221 221
    return docListResult;
222 222
  }
223 223
  
......
441 441

  
442 442
/**
443 443
 * '$Log$
444
 * 'Revision 1.16  2000/08/23 22:55:25  berkley
445
 * 'changed the field names to be case-sensitive in the returnfields
446
 * '
444 447
 * 'Revision 1.15  2000/08/23 17:22:07  berkley
445 448
 * 'added support for the returnfield parameter
446 449
 * '-added the dynamic parameters to the returned hash table of documents

Also available in: Unified diff