| javax.persistence.EnumType
EnumType | public enum EnumType (Code) | | Defines mapping for the enumerated types.
The constants of this enumerated type specify how persistent
property or field should be persisted as a enumerated type.
since: Java Persistence 1.0 |
ORDINAL | Enum Constant ORDINAL(Code) | | Persist enumerated type property or field as an integer
|
STRING | Enum Constant STRING(Code) | | Persist enumerated type property or field as a string
|
|
|