KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Query query = getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery( "select proj_employee.employee_no as employeeNo, ... .setResultTransformer(Transformers.aliasToBean(User.class)); Inside User.class does the property employeNo need to be in capital letter? private String EMPLOYEENO; //get/set for EMPLOYEENO If I change the EMPLOYEENO to small letter , it doesn't work. Can anyone explain why the variable name must be all capital letters?
Tags (comma-separated)
Save Edits
Cancel