|
Annotation Types Summary |
| Column |
Specifies the mapped column for a persistent property or field. |
| Convert |
The value of this Convert annotation point to a class, the implementation of
this class will used to convert field value to database column value, and
column value to database, for example: |
| Entity |
Specifies that the class is an entity. |
| Enumerated |
Specifies that a persistent property or field should be persisted as a
enumerated type. |
| GeneratedValue |
Provides for the specification of generation strategies for the
values of primary keys. |
| Id |
Specifies the primary key of an entity. |
| Index |
Used in schema generation to specify creation of an index. |
| SequenceGenerator |
Defines a primary key generator that may be referenced by name when
a generator element is specified for the GeneratedValue
annotation. |
| Table |
Specifies the primary table for the annotated entity. |
| TableGenerator |
Defines a primary key generator that may be
referenced by name when a generator element is specified for
the GeneratedValue annotation. |
| Transient |
Specifies that the property or field is not persistent. |
| UniqueConstraint |
Specifies that a unique constraint is to be included in
the generated DDL for a primary or secondary table. |
| Version |
Specifies the version field or property of an entity class that serves as its
optimistic lock value. |