EnumType
java.lang.Object ∟ java.lang.Enum<jakarta.persistence.EnumType> ∟ jakarta.persistence.EnumType
Enumerates available options for mapping enumerated types. The values of this enumeration specify how a persistent property or field whose type is a Java
enum type should be persisted. - See Also:
- Enumerated
- EnumeratedValue
- Since:
- JPA 1.0
The JPA Persistable Types article explains how to use
EnumType.Enum Constants
The ordinal value of an enum instance with no EnumeratedValue field is the value of its Enum member.
- Since:
- JPA 1.0
The string value of an enum instance with no EnumeratedValue field is the value of its Enum member.
- Since:
- JPA 1.0
Public Static Enum Methods:
Method inherited from class java.lang.Enum
compareTo, compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf