/**
  * Generates log message with column values accessed if the row's column values have not already
  * been logged.
  */
 public void generateLogMessage() {
   if (lastRowLogged != currRow) {
     P6LogQuery.log(Category.RESULTSET, this);
     resultMap.clear();
     lastRowLogged = currRow;
   }
 }
Example #2
0
 public P6SpyDriver3()
     throws ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException {
   super(P6SpyDriver3.class.getName(), new P6CoreFactory());
   Throwable t = new Throwable();
   StringWriter sw = new StringWriter();
   t.printStackTrace(new PrintWriter(sw));
   P6LogQuery.debug("new spy driver: " + sw.toString());
 }