Update and rename hibernate.cfg.xml to hibernate~.cfg.xml