title: hibernate query language or using criteria?
body: <p>Any one who tell me the query using criteria/hql/sql.
  Requirement is that user enter email or username the query return the password of the 
  user from table user.</p>