Problem with hibernate.cfg.xml solved