title: NHibernate "illegal access to loading collection" error
body: <p>What is the reason of this error? My class is Course and it has notes. Mapping is as below. Any idea?</p>
  
  <pre><code>&lt;bag name="Notes" table="NOTE" cascade="all"&gt;
        &lt;key column="COURSEID"/&gt;
        &lt;one-to-many class="Server.Data.Note, Server.Data"/&gt;
      &lt;/bag&gt;
  </code></pre>