Totally FREE !!!!!!!!!!

List utypesList = hs.createSQLQuery("SELECT {utypes.*} FROM utypes LIMIT 0,10") 
			.addEntity("utypes", Utypes.class) 
			.list();
 
if (!utypesList.isEmpty()) { 
	iterator iter = utypesList.iterator(); 
	while (iter.hasNext()) { 
		Utypes utypeBean = (Utypes)iter.next(); 
	} 
}