Merge pull request #1406 from XitasoChris/patch-1
add default value for GeneratedValue
This commit is contained in:
commit
ae5b8178e7
1 changed files with 2 additions and 1 deletions
|
@ -357,11 +357,12 @@ conjunction with @Id.
|
||||||
If this annotation is not specified with @Id the NONE strategy is
|
If this annotation is not specified with @Id the NONE strategy is
|
||||||
used as default.
|
used as default.
|
||||||
|
|
||||||
Required attributes:
|
Optional attributes:
|
||||||
|
|
||||||
|
|
||||||
- **strategy**: Set the name of the identifier generation strategy.
|
- **strategy**: Set the name of the identifier generation strategy.
|
||||||
Valid values are AUTO, SEQUENCE, TABLE, IDENTITY, UUID, CUSTOM and NONE.
|
Valid values are AUTO, SEQUENCE, TABLE, IDENTITY, UUID, CUSTOM and NONE.
|
||||||
|
If not specified, default value is AUTO.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue