some changes of hibernate setting