When an attribute of enum type is mapped using @Enumerated(STRING), the string values are determined by the name of the Java enum members. We should have an annotation to selectively override these names, something like, I dunno, @EnumeratedColumnValue or something. |