title: Hibernate and stored procedures
body: <p>As my understanding on setting hibernate, I need to create </p>
  
  <ul>
  <li>table meta data file (<code>person.hbm.xml</code>), include all the fields mapping</li>
  <li>java object (<code>person.java</code>)</li>
  </ul>
  
  <p>If we use stored procedures for all transaction, do we still need the above configuration? </p>
  
  <p>It seems hibernate and stored procedures will overlap, </p>
  
  <p>We set up the stored procedure because we don't want the to developer know all the field in db. If tables change, then we need update above files.</p>
  
  <p>Does it mean if we purely use stored procedure, we should just go for JDBC?</p>
  
  <p>If hibernate, we should stay in HQL?</p>