Add hbm config and update hibernate config