| 
					
						 I have user value object class which has login info
  along with that other 5 value obeject class extends user now if I implement crieteriaSearch as follows
  public Object crieteriaSearchUser(userVo louserVo) { Map<String, Object> loCrieSearch = new HashMap<String, Object>();
  loCrit = sessionFactory.getCurrentSession().createCriteria( userVo.class);	
  if (!louserVo.getUserName().equals("") ) { loCrit.add(Restrictions.like("userName",louserVo.g etUserName()+"%"));	 } loCrieSearch.put("allUserList", loCrit.list()); logger.debug("class Name :commonDo Function :crieteriaSearchDiscount Status : Exiting "); return loCrieSearch;
 
  it is going to exception saying that userName is not defined in other value object class which extends user class can anyone suggest solution for that Thanks in advance 
					
  
						
					 |