By default (per JPA) enum types are mapped as {{javax.persistence.EnumType#ORDINAL}}. This issue requests addition of a new setting to indicate the default to use. _Original issue_ ----
Hi, what I'm looking for is an annotation for the key word enum
e.g. public enum KnownCountries {
which changes the default behavior for this enum for every property where I used that enum as property.
At least it would be more convenient if you can change the default and only have to change it, on properties where you don't want your own default type.
See http://forum.hibernate.org/viewtopic.php?p=2363187#2363187 for more details.
Greetings Michael
|