Fixed hibernate config