corrected hibernate configuration