I have a jpa Entity which already have a id generated as uuid and one more unique human readable id was required. so I generated a ref_key with ValueGenerator.<
ValueGenerator