title: nHibernate only returns an empty row set
body: <p>I profile the SQL server and don't see any attempt to hit the server from Hibernate.<br/>Also no errors thrown.<br/>The only thing that happens is Hibernate returns an empty row set.</p>
  
  <p>The query:</p>
  
  <pre><code>    var cfg = new Configuration();
      cfg.Configure();
      ISessionFactory sesFactory = cfg.BuildSessionFactory();
      var ses = sesFactory.OpenSession();
      var qry = ses.CreateQuery("from Tko.SmartMoves.Modules.Operations.Domain.vDoors");
      IList&lt;vDoors&gt; x = qry.List&lt;vDoors&gt;();
  </code></pre>
  
  <p>If I set the same thing up using ICriteria I have the same problem.</p>
  
  <p><br/>
  But this works ~ all other things being equal:</p>
  
  <pre><code>    string sql = string.Format("select * from vDoors");
      var cfg = new Configuration();
      cfg.Configure();
      ISessionFactory sesFactory = cfg.BuildSessionFactory();
      var ses = sesFactory.OpenSession();
      var qry = ses.CreateSQLQuery(sql);
      IList&lt;vDoors&gt; x = qry.List&lt;vDoors&gt;();
  </code></pre>
  
  <p>Thanks.</p>