About enum

manual

Literals in JPQL and Criteria Queries

Describes literals in JPQL, including null, false, true, numbers, strings, dates enums and types.... (e.g. 100 ), string literals (e.g. 'abc' ), enum literals (e.g. mypackage.MyEnum.MY_VALUE ) and entity type literals ... Date and Time Literals Enum Literals Entity Type Literals Criteria Query ...

 
manual

Auto Generated Values

Explains the different strategies for generating auto values (mainly for primary key fields) in JPA.... with the AUTO GenerationType.AUTO enum constant Indicates that the persistence provider should pick an ... javax.persistence.GenerationType JPA enum Defines the types of primary key generation strategies. See ... Page... . AUTO GenerationType.AUTO enum constant Indicates that the persistence provider should pick an ...

 
manual

JPA Persistable Types

Explains how JPA manages types, including entity classes, embeddable classes, primitive types, wrappers, string, date, enum, collections and maps.... Maps and Arrays. Miscellaneous types: Enum types and Serializable types (user or system defined). ... Value Types Proxy Classes Enum Types Serializable Types Entity ...

 
api-jpa

javax.persistence.CascadeType

Defines the set of cascadable operations that are propagated to the associated entity.(Enum of JPA)

 
manual

Shared (L2) Entity Cache

Explains how to set and use the EntityManagerFactory's shared cache (L2 / level 2) in JPA 2.... javax.persistence.CacheRetrieveMode JPA enum Used as the value of the javax.persistence.cache.retrieveMode ... and by queries. See JavaDoc Reference Page... enum: CacheRetrieveMode javax.persistence.CacheRetrieveMode JPA enum Used as the value of the javax.persistence.cache.retrieveMode ...

 
api-jpa

javax.persistence.EnumType

Defines mapping for enumerated types.(Enum of JPA)

 
api-jpa

LockModeType.PESSIMISTIC_WRITE

Pessimistic write lock.(Enum Constant of javax.persistence.LockModeType)

 
api-jpa

CascadeType.ALL

Cascade all operations(Enum Constant of javax.persistence.CascadeType)

 
api-jpa

javax.persistence.TemporalType

Type used to indicate a specific mapping of java.util.Date or java.util.Calendar.(Enum of JPA)

 
api-jpa

javax.persistence.FetchType

Defines strategies for fetching data from the database.(Enum of JPA)