@Override public void onBeforeResultSetNext(ResultSetInformation resultSetInformation) { if (resultSetInformation.getCurrRow() > -1) { // Log the columns that were accessed except on the first call to ResultSet.next(). The first time it is // called it is advancing to the first row. resultSetInformation.generateLogMessage(); } }
@Override public void onAfterResultSetClose(ResultSetInformation resultSetInformation, SQLException e) { if (resultSetInformation.getCurrRow() > -1) { // If the result set has not been advanced to the first row, there is nothing to log. resultSetInformation.generateLogMessage(); } }
@Override public void onAfterResultSetClose(ResultSetInformation resultSetInformation, SQLException e) { if (resultSetInformation.getCurrRow() > -1) { // If the result set has not been advanced to the first row, there is nothing to log. resultSetInformation.generateLogMessage(); } }
@Override public void onBeforeResultSetNext(ResultSetInformation resultSetInformation) { if (resultSetInformation.getCurrRow() > -1) { // Log the columns that were accessed except on the first call to ResultSet.next(). The first time it is // called it is advancing to the first row. resultSetInformation.generateLogMessage(); } }