add default value for GeneratedValue
This commit is contained in:
parent
900b55d16a
commit
702b8b3309
@ -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…
x
Reference in New Issue
Block a user