| 枚举 | 说明 |
|---|---|
| GenerationType |
Defines the types of primary key generation strategies.
|
| 注释类型 | 说明 |
|---|---|
| Cacheable |
Specifies whether an entity should be cached if caching is enabled
when the value of the
persistence.xml caching element
is ENABLE_SELECTIVE or DISABLE_SELECTIVE. |
| Column |
Specifies the mapped column for a persistent property or field.
|
| Entity |
Specifies that the class is an entity.
|
| GeneratedValue |
Provides for the specification of generation strategies for the
values of primary keys.
|
| Id |
Specifies the primary key of an entity.
|
| Table |
Specifies the primary table for the annotated entity.
|
| Transient |
Specifies that the property or field is not persistent.
|