Project

General

Profile

« Previous | Next » 

Revision 1559

Added by Jing Tao over 21 years ago

Add some debugMessage.

View differences:

src/edu/ucsb/nceas/metacat/RelationHandler.java
205 205
      subDoctype = null;
206 206
      objDoctype = null;
207 207
      //put the new relation into xml_relation
208
      MetaCatUtil.debugMessage("Insert into xml_relation table", 30);
208 209
      tstmt.setString(1, docid);
210
      MetaCatUtil.debugMessage("Insert docid into xml_relation table" + 
211
                                docid, 30);
209 212
      tstmt.setString(2, packagetype);
210 213
      tstmt.setString(3, subject);
214
      MetaCatUtil.debugMessage("Insert subject into xml_relation table" + 
215
                               subject, 30);
211 216
      tstmt.setString(4, subDoctype);
212 217
      tstmt.setString(5, relationship);
218
      MetaCatUtil.debugMessage("Insert relationship into xml_relation table" + 
219
                                relationship, 30);
213 220
      tstmt.setString(6, object);
214 221
      tstmt.setString(7, objDoctype);
215 222
      tstmt.execute(); 
......
404 411
      }//finally
405 412
    }//finally
406 413
     
407
    
414
    MetaCatUtil.debugMessage("The access docid get from xml_relation is: "+
415
                              aclid, 30);
408 416
    return aclid;
409 417
  }
410 418

  

Also available in: Unified diff