Project

General

Profile

« Previous | Next » 

Revision 5170

Added by daigle over 14 years ago

Add debug to show sql

View differences:

src/edu/ucsb/nceas/metacat/EML201DocumentCorrector.java
54 54
    	         
55 55
    	          // delete the records in xml_index table 
56 56
    	          String deletingIndex = generateXML_IndexDeletingSQL();
57
    	          logMetacat.debug("EML201DocumentCorrector.run - deleting the records in xml_index table with sql: " + deletingIndex);
57 58
    	          deletingStatement.execute(deletingIndex);
58 59
    	          
59 60
    	          // delete the records in xml_nodes table
60 61
    	          String deletingNode = generateXML_NodeDeletingSQL();
62
    	          logMetacat.debug("EML201DocumentCorrector.run - deleting the records in xml_nodes table with sql: " + deletingNode);
61 63
    	          deletingStatement.execute(deletingNode);
62 64
    	          
63 65
    	          // delete the records in xml_nodes_revisions table
64 66
    	          String deletingNodeRevision = generateXML_Node_RevisionsDeletingSQL();
67
    	          logMetacat.debug("EML201DocumentCorrector.run - deleting the records in xml_nodes_revisions table with sql: " + deletingNodeRevision);
65 68
    	          deletingStatement.execute(deletingNodeRevision);
66 69
    	          
67 70
    	          //close statement and connection

Also available in: Unified diff