Fixed Bug in hibernate initialization in hibernate.cfg.xml.