HHH-6974 introduced a new 2L cache for natural id, but it is only possible to use it in annotation, we need to make is possible in hbm as well