Implement JPA API with Hibernate in your domain classes and HQL Queries