@SuppressWarnings("unchecked")
  private <T> void testRowSetResults(
      String i_command,
      RowSetValueGetter i_getter,
      T[] i_expectedValues,
      String i_context,
      String i_failureDesc) {
    RowSet rowSet = null;
    try {
      rowSet = m_database.createRowSet(CommandType.COMMAND, i_command);
      rowSet.execute();

      List<T> values = new ArrayList<T>();
      while (rowSet.next()) {
        values.add((T) i_getter.getValue(rowSet));
      }
      assureEquals(i_context + ": " + i_failureDesc, i_expectedValues, values.toArray(), true);
    } catch (final SQLException e) {
      failed(i_context + ": caught an exception: " + e.toString(), false);
    } finally {
      if (rowSet != null) rowSet.dispose();
    }
  }
 public Object getValue(final RowSet i_rowSet) throws SQLException {
   return i_rowSet.getDate(m_columnIndex);
 }