Blog Archive for ntruchsess during August 2011
in JPA it is possible to map String-data to enumerated values. But you are limited to Strings that are legal to be used in enum-types. E.g. using '-' or plain numbers will not work. An enum using such characters will not compile:
public enum ThisWillNotCompile { VALUE, 123, hello-world;}
Thus JPA doesn't allow to map such values to enum-types (in fact it's not...



