title: Adding entity mapping in code rather in hibernate.cfg.xml
body: <p>Is it possible to add mapping in code rather in hibernate.cfg.xml file??</p>
  
  <p>I have one hibernate.cfg.xml file for several different servers and I would like to load the mapping dynamically and not from the cfg file.</p>
  
  <p>Thank you!</p>