I have an entity which has a non-key column which I've set as auto-generated in my DB.
I cannot use @GeneratedValue
because it works only for key fields as far as I understand.
Given this case, how do I indicate that the non-key column is auto-generated?