code: public void beginExport() {
          if (m_dataSource == null) {
              m_dataSource = m_dataSourceFactory.create();
          }
          try {
              m_connection = m_dataSource.getConnection();
              m_statement = m_connection.createStatement();
              m_statement.execute(m_sql);
              m_resultSet = m_statement.getResultSet();
          }
          catch (SQLException e) {
              throw new RuntimeException(e);
          }
      }
docs: {@inheritDoc}