Change hibernate config