hibernate config fixes