I want to have a unique number besides my string id. So I thought I could use Generated from Hibernate but the value is always null.
My entity:
@Entity