how to write Hibernate Criteria
===

 i am trying to write Hibernate createCriteria for the sql query please give me your suggestions SQL Query: select r.* from feedback f,reply r where   f.id=r.feedback_id and f.sender_id=5