Modified hibernate.cfg.xml file and added few annotations