# 程序包 javax.persistence

- 注释类型概要
  注释类型 | 说明
  --- | ---
  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.