title: Hibernate: No type name
body: <p>Hello I am using Hibernate 3.6 with XML mapping (no annotations).</p>
  
  <p>I tried to create instance of <a href="http://docs.jboss.org/hibernate/core/3.5/javadocs/" rel="nofollow">Configuration</a>, but it failed. The only message Hibernate told me was this:</p>
  
  <pre><code>org.hibernate.MappingException: No type name
  </code></pre>
  
  <p><strong>Yep, that's it</strong>. No mapping file name, no entity name, nothing. I am pretty much desperate here, I really have no idea what to do. Maybe there are more options to put in <code>hibernate.cfg.xml</code>, maybe some advanced logging.</p>
  
  <p>Do you have an idea how to deal with this? Getting more info about this exception or making Hibernate to be more chatty would be great. Thanks</p>