| Enum | Description |
|---|---|
| EnumType |
Defines mapping for enumerated types.
|
| GenerationType |
Defines the types of primary key generation strategies.
|
| TemporalType |
Type used to indicate a specific mapping of
java.util.Date
or java.util.Calendar. |
| Annotation Type | Description |
|---|---|
| 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. |
| Temporal |
This annotation must be specified for persistent fields
or properties of type
java.util.Date and
java.util.Calendar. |
| 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.
|
Copyright © 2022. All rights reserved.