changed hibernate config to match with db