The original request and subsequent comments are a bit unclear. If I understand correctly, I believe y'all are asking for the introduction of an additional setting that indicates to use javax.persistence.EnumType#STRING as the default mapping for enums rather than javax.persistence.EnumType#ORDINAL (as dictated by JPA). Yeah?
Yeah, that’s what I would like. Since this is an old issue, is that perhaps possible with Hibernate 5 already? |