title: Hibernate mapping classes from hibernate.cfg.xml
body: <p>For class mapping from hibernate.cfg.xml   I use these format below:</p>
  
  <p><code>&lt;mapping class="packageName.className1"/&gt;<br>
  &lt;mapping class="packageName.className2"/&gt;<br>
  &lt;mapping class="packageName.className3"/&gt;</code></p>
  
  <p>How can I map all classes in a package, by using one mapping row?
  For Example: <code>&lt;mapping class="packageName.*"/&gt;</code> using bla-star doesn't work!</p>