half finished getting hibernate config fixed