How to get your HQL Step by Step