SQLQuery query = session.createSQLQuery("select e.ename from Employee e");
//query.addEntity(Employee.class);
i = ()query.addEntity(Employee.class);
System.out.println("a");
List<Object[]> list = query.list();
System.out.println("b");
Iterator itr = list.iterator();
while (itr.hasNext())
{
//String ename = (String)itr.next();
System.out.println("ename" + ":" + itr.next());
}