how to use whree clause in hibernate code example Example: select in hql select cust.name from Customer as custn