title: NHibernate - No Class Mappings
body: <p>Why don't I have any class mappings after calling Configuration.Configure()?</p>
  
  <p>Here is my class mapping file Category.hbm.xml for BudgetModel.Category:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="BudgetModel" namespace="BudgetModel"&gt;
    &lt;class name="Category" table="Categories"&gt;
      &lt;id name="Id" type="Int32"&gt;
        &lt;generator class="native" /&gt;
      &lt;/id&gt;
      &lt;property name="Name" type="string" not-null="true" /&gt;
    &lt;/class&gt;
  &lt;/hibernate-mapping&gt;
  </code></pre>
  
  <h2>EDIT</h2>
  
  <p>NH version is 2.1.1.GA</p>
  
  <p>Category.hbm.xml is an embedded resource &amp; I have rebuilt.</p>