Question: how to write hql query in hibernate?
Answer: SELECT Clause String hql = "SELECT E. firstName FROM Employee E"; Query query = session. createQuery(hql); List results = query. list();