Hi all
I have a question about enumerations,
class Test{
public enum Gender{
Male, Female
}
@Enumerated(EnumType.STRING)
@Column(length=1)
private Gender gender;
}
my question is this correct?
my goal is to keep only one character of the enumration
thanks for help