Changed hibernate Config