GeneratedValue
| Modifier and Type | Field and Description |
|---|---|
| public static final GenerationType | AUTO
Indicates that the persistence provider should pick an appropriate strategy for the particular database. |
| public static final GenerationType | IDENTITY
Indicates that the persistence provider must assign primary keys for the entity using a database identity column. |
| public static final GenerationType | SEQUENCE
Indicates that the persistence provider must assign primary keys for the entity using a database sequence. |
| public static final GenerationType | TABLE
Indicates that the persistence provider must assign primary keys for the entity using an underlying database table to ensure uniqueness. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static GenerationType | |
| public static GenerationType[] |
| AUTO | back to summary |
|---|---|
| public static final GenerationType AUTO Indicates that the persistence provider should pick an
appropriate strategy for the particular database. The
| |
| IDENTITY | back to summary |
|---|---|
| public static final GenerationType IDENTITY Indicates that the persistence provider must assign primary keys for the entity using a database identity column. | |
| SEQUENCE | back to summary |
|---|---|
| public static final GenerationType SEQUENCE Indicates that the persistence provider must assign primary keys for the entity using a database sequence. | |
| TABLE | back to summary |
|---|---|
| public static final GenerationType TABLE Indicates that the persistence provider must assign primary keys for the entity using an underlying database table to ensure uniqueness. | |
| GenerationType | back to summary |
|---|---|
| private GenerationType() | |
| valueOf | back to summary |
|---|---|
| public static GenerationType valueOf(String name) | |
| values | back to summary |
|---|---|
| public static GenerationType[] values() | |