title: Oracle datareader does not return any row
body: <p>When i run the following sql statement in sql developer it will return 2 rows:</p>
  
  <pre><code>SELECT * FROM TEST
  </code></pre>
  
  <p>When i run the following code on the same connenction, the datareader.HasRows will be false:</p>
  
  <pre><code>        OracleCommand cmd = new OracleCommand();
          cmd.Connection = Connection;
          cmd.CommandText = "SELECT * FROM TEST";
          OracleDataReader dr = cmd.ExecuteReader();
          if (dr.HasRows)
          {
              while (dr.Read())
              {
                  System.Windows.Forms.MessageBox.Show(dr.GetString(1));
              }
          }
          else
          {
              System.Windows.Forms.MessageBox.Show("no found rows");
          }
  </code></pre>
  
  <p>Why does the datareader not contains any rows?</p>
  
  <p>Additional information:</p>
  
  <ul>
  <li>Oracle 11g XE 64 bit installed.</li>
  <li>Installed ODAC 11.2 64 bit.</li>
  <li>Added reference to "oracle\odp.net\bin\4\Oracle.DataAccess.dll"</li>
  <li>Added: using Oracle.DataAccess.Client;</li>
  </ul>