hibernate query with where clause code example Example: select in hql select cust.name from Customer as custn