So I have saved a JDO entity that contains an value of MyEnum.
public enum MyEnum {
MyValue1,
MyValue2,
MyValue3;
}
However now I need to remove at least one of the enum values. Will this crash JDO queries since a value that has been stored is no longer valid?
Thanks for the help.
JDO most probably uses
Enum.valueOf(class, string)to instantiate enums. So in case of unsupported values it will produceIllegalArgumentException.