title: Hibernate's Transformers.aliasToBean() method
body: <pre><code> Query query =  getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(
                   "select proj_employee.employee_no as employeeNo, ...
   .setResultTransformer(Transformers.aliasToBean(User.class));
  </code></pre>
  
  <p>Inside User.class
  does the property employeNo need to be in capital letter?</p>
  
  <pre><code>private String EMPLOYEENO; 
  //get/set for EMPLOYEENO
  </code></pre>
  
  <p><br>
  If I change the <code>EMPLOYEENO</code> to <em>small letter</em>, it doesn't work. Can anyone explain why the variable name must be all capital letters?</p>