changed hibernate config.